Google analytics - option added to have code placed in head

Google analytics - option added to have code placed in head, a forum discussion on Jojo CMS. Join us for more discussions on Google analytics - option added to have code placed in head on our Administration (backend and configuration) forum.

Back to Forum Index : Back to Administration (backend and configuration)   RSS
searchmaster

24 Jul 2009
Posts: 19

You need to have the Google analytics code in the head section when you are tracking any event inside a page.

ie you are tracking how many times a pdf has been downloaded
<a href="downloads/pdf/bla.pdf" onClick="javascript: pageTracker._trackPageview('/pdf/bla.pdf');">

So an option has been added to allow you to choose to have the google analytics in the head rather than in the footer (default).

Back to Forum Index : Back to Administration (backend and configuration)   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.