Google Analytics

Permalink
Hi All

I have a site running 5.5.1 and I am trying to add my Google code.
I have seen other posts that suggest you have the following code in the footer.php Loader::element('footer_required');
I have this code in my footer but the code shows on the bottom of every page when I enter it into the Tracking section of the dashboard.

Can anyone tell me where I may be going wrong?

 
glockops replied on at Permalink Reply
glockops
To clarify, you're saying that Google Analytics tracking code shows up in every page of your site? If so, that is the default behavior.

If you want the GA code to show up in the top of the page, you can configure those settings in your dashboard.

If you want to exclude certain pages from being tracked, you could edit the tracking code output to check for an attribute to prevent tracking.