Google Analytics code not working

If the Google Analytics code that you have added in the theme’s options page is not working for you or if the code is displayed in the content of the page, that’s most likely because the code might not be inserted in the correct format – you have to make sure to insert the entire tracking code that the Google Analytics service provides, and not only your tracking ID. The Google Analytics code should be in the following format:

<script>
CODE GOES HERE
</script>

For more information about how to retrieve your Google Analytics code, please refer to the following guide where this is explained in detail:

https://support.google.com/analytics/answer/1032385?hl=en

Article Keywords: Google analytics code is visible on the site, ga tracking code is visible in footer, google analytics code appearing, unknown code at the top of all pages, google analytics tracking id not working, google analytics code, google analytics code implementation, make the google analytics code invisible, analytics code showing, google analytics code appears on screen

Was this useful? 0