Expand my Community achievements bar.

SOLVED

How does it work?

Avatar

Level 1

We are using Channel Adviser to place a pixel on our site, and return a cookie in some cases.  So what behavior should I expect? Using DTM, in my page I write _satellite.track("myrule");. Does that then return that code to run client-side?  Does it run on an Adobe server and just return/inject the returned code client-side?  How does it handle cookies?

 

If it just returns the code to run client-side that'll be bad for performance, and I don't want to use DTM.  If it runs the Channel Adviser JS snippet server-side, is it smart enough to return the cookie?

Thanks,
Ryan

1 Accepted Solution

Avatar

Correct answer by
Level 3

Ryan,

All of the rules run in-browser, so yes, it would return the code client-side.  However, I would ask you to reconsider the idea that it would be bad for performance.  If you use our default option of non-sequential HTML/Javascript to inject the tag, then it will run in parallel with the rest of the page and will not cause any slowdown whatsoever in the page load or user experience.

Regarding cookies, since the code is running on your website, the cookie will be set on your domain when the rule is run.

Best,
Shawn

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

Ryan,

All of the rules run in-browser, so yes, it would return the code client-side.  However, I would ask you to reconsider the idea that it would be bad for performance.  If you use our default option of non-sequential HTML/Javascript to inject the tag, then it will run in parallel with the rest of the page and will not cause any slowdown whatsoever in the page load or user experience.

Regarding cookies, since the code is running on your website, the cookie will be set on your domain when the rule is run.

Best,
Shawn