1 / 3
Oct 2011

Hi,

I've been using the ejunkie code for tracking conversions in google analytics. This e-junkie code works fine with the traditional ga.js version of google analytics.



Does anyone know whether there is any ejunkie code that will work with the recently released asynchronous version of the google analytics code?



The existing e-junkie recommended code looks something like:



var ejGATracker = gat.getTracker("UA-99999-1");

ejGATracker._setDomainName("none");

ejGATracker._setAllowLinker(true);

ejGATracker._trackPageview();



But, the new async google analytics code relies on an object called _gaq rather than _gat. Eg:

gaq.push(['setAccount', 'UA-99999-1']);



Just wondering whether anyone is using async google analytics with e-junkie conversion tracking?

  • created

    Oct '11
  • last reply

    Nov '11
  • 2

    replies

  • 994

    views

  • 2

    users

You can use the standard asynchronous code from Google Analytics if you wish, instead of using our version. All you'll lose is the ability to track cart button clicks and the Ecommerce Tracking data we insert in our thank-you pages when we detect a GA tracking cookie has been set using our version of the GA code. If you use GA's async code, make sure you also add it to your E-junkie thank-you pages, or redirect to a thank-you page on your site where you've got the GA code. To add the same code to every thank-you page we generate for you, paste it into Seller Admin > Account Preferences > Common Thank-you Page HTML.