Google Analytics Code on Mobile Site

Posted in: Newspaper
Post count: 12

My Google Analytics UA code is appearing on the top of my public mobile site. How do I get rid of this? I have actually changed the UA code, but the old one is still appearing on phones. I have cleared all the history and caches on my phone. It is also appearing on another phone I tested this on. How do I get rid of it?

Post count: 12

The UA code is also appearing at the top of the website (tested on another computer).

Post count: 20688

Hi,

So the problem is that the actual analytics code is displaying on the website. Please make sure you enter the code properly in the theme panel
https://www.screencast.com/t/6YigqaSkRaJ
Analytics code should be inserted in that section between script tags, like this
<script>your analytics code</script>

Thanks

Post count: 12

I have done the above, but the UA code is still appearing at the top of the website homepage in my Safari browser. What is weird is that it is an old UA code that is appearing. I replaced this with a new one yesterday, and the old one is still showing. It doesn’t appear on the homepage in any other browser, or on the mobile site. Thanks.

Post count: 20688

Hi,

It could be a browser cache issue since it is only happening on that specific browser. Try clearing the cache on the browser where the issue is still present
https://kb.wisc.edu/helpdesk/page.php?id=12384

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.