Hello,



I am trying to setup add-to-cart tracking as well as conversion tracking with ejunkies custom Google Analytics code.



I understand how e-junkies GA code tracks add to cart clicks with the code and what not but I need to be able to setup conversion tracking as well.



I've got the e junkie GA code in, and the view cart code too, i'm just stuck at this part thats supposed to be added to the view cart button



function EJEJC_config() {

EJEJC_BEACON = "http://Put.Tracking.Pixel.or.Beacon.URL.Here";

}



I understand a tracking pixel is a 1x1 px image, but i have no idea what to put in "http://Put.Tracking.Pixel.or.Beacon.URL.Here"



Any help is appreciated..

  • created

    Jun '12
  • last reply

    Jun '12
  • 1

    reply

  • 1.1k

    views

  • 2

    users

  • 5

    links

Hello,



Our help page explains what would go there and gives an example related to Google AdWords.



If you don't have an AdWords Tracking Beacon then you don't need to use this code, you can just stick with the Google Analytics code provided at the same help page. That code will already automatically track conversions as part of Google Analytics:



<script type="text/javascript">

var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");

document.write(unescape("%3Cscript src='"+gaJsHost+

"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

</script>

<script type="text/javascript">

var ejGATracker = gat.getTracker("UA-XXXXX-X");

ejGATracker._setDomainName("none");

ejGATracker._setAllowLinker(true);

ejGATracker._trackPageview();

</script>



(be sure to replace UA-XXXXX-X with your own ID)