-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classify events separatly #116
Comments
Hi there 👋 what are you looking to accomplish here? Are you trying to set default data that will be sent on every event trigger or something? Some more detail would be great 👍 |
@stuyam , the Pixel send all event generally as same ...like if user is passing login event or register event or product viewed event...all events are coming at same place. What i am looking for is, if we can make classes or methods in pixel for different purposes. I mean , if we want to track user events ...we can use a class like And for user related events e.g if user Hope you got my point....If need more detail... i will explain.. Thanks @stuyam 👍 |
Ok so what it sounds like you want is the ability to send event data to different urls rather than only supporting one? So being able to send some events to It seems like you are trying to use open pixel like ajax to send updates to your backend? Im not sure open pixel is an ideal candidate for something like that. Why couldn't you use ajax or fetch for making updates to a user in this case? |
I made a
|
Everything fine, Thanks for Pixel.
One thing i need to ask, Is there any easy way to make pixel work like
opix.track('event', 'reservation', {'key' : 'value'})
to track the events
and
opix.user.setEmail('email', '[email protected]')
to set or update user's profile data.Means, If we have that sort of function it will be easy to call API on basis of function called.
Thanks
The text was updated successfully, but these errors were encountered: