Hi,
I'm a little confused about implementing google analytics in conjunction with e-junkie. e-junkie provides the following code:
<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-xxxxxx-x");
ejGATracker._setDomainName("none");
ejGATracker._setAllowLinker(true);
ejGATracker._trackPageview();
</script>
Google Analytics provides another to be put before the </body> tag. My questions are the following:
1. Do I have to insert both of these codes or just the e-junkie one?
2. Where do I place the e-junkie code? Instructions say at the bottom..but more specifically before which tag?
Thanks!
created
Mar '09
last reply
Jul '10
- 3
replies
- 1.0k
views
- 3
users
- 5
links