1 / 4
Jun 2014

I need to split test the sales page for the course I am selling. Now I am using the overlay cart and tracking it with the e-junkie code.

If I add the google content experiment code, I get an error telling me that the cookie domain is not set to the domain of the experiment.

On the ej tracker I see ejGATracker._setDomainName("none");



Google suggests to set the domain in their script. What should I do?

  • created

    Jun '14
  • last reply

    Jun '14
  • 3

    replies

  • 1.4k

    views

  • 2

    users

If you want to do anything with Google Analytics that our custom GA tracking code does not already do as-is, you would need to abandon using our GA code and start using GA tracking code provided by Google instead. Not using our version of the GA code would mean giving up the ability to track cart button clicks and giving up Ecommerce Tracking.



If you use standard GA code from Google and also need to track thank-you page visits, you would need to add that code to your E-junkie-generated thank-you pages (which is not necessary with our version of the GA code). You can paste that code into your E-junkie Seller Admin > Account Preferences > Common Thank-you Page HTML.

Thanks.

So, if I understand correctly, you are suggesting that I use the Google Analytics code, remove e-junkie code and the GA code to the thank you page, right?

However, the GA code I am trying to use is only for content experiments. This doesn't go on the thank you page. Should I add the standard GA code to the thank you page?



Will I still be able to track sales and sales value?

The trouble is that our custom version of GA code cannot be combined with Google's own GA code, neither on the same page nor across different pages of the same site, so if you wish to use tracking functions that our custom GA code does not already perform as-is, you cannot use our GA code at all and must only use Google's code on every page where you wish to use GA tracking at all. Doing this would disable cart-button click tracking in GA and disable Ecommerce Tracking in GA. If you don't wish to use GA tracking in your E-junkie thank-you pages, you won't need to add the code there.