Looking for an option to set siteId during trackEvent call
_paq.push([‘trackEvent’, ‘Documentary’, ‘Play’, ‘Thrive’]);
I don’t want to globally change the siteId but just for specific trackEvent calls
Looking for an option to set siteId during trackEvent call
_paq.push([‘trackEvent’, ‘Documentary’, ‘Play’, ‘Thrive’]);
I don’t want to globally change the siteId but just for specific trackEvent calls
I haven’t tried it but I would have thought you could do:
_paq.push(['setSiteId', <Specific Site ID>]);
_paq.push(['trackEvent', 'Documentary', 'Play', 'Thrive']);
_paq.push(['setSiteId', <Original Site ID>]);
Any option to pass siteid along with trackEvent?
From what I can see the call doesn’t provide that (Nor should it in my opinion). Does my posted code not work?
It works, just figuring out how can we send sectional data from same page to different siteid bit more easier way