How does it work? | Community
Skip to main content
October 16, 2015
Solved

How does it work?

  • October 16, 2015
  • 1 reply
  • 1000 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shawncreed1

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

1 reply

shawncreed1
shawncreed1Accepted solution
Level 3
October 16, 2015

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