Dear Sirs,
A few days ago I purchased the NEWS MAG theme which I like very much.
Slowly – slowly I am building our site.
Today I registered to google analytics to get the Google TRACKING ID.
Everything ok up to the moment I went to theme and insert it inside the tab Analytics.
From now on,
My google ID it appears at my home page (www.diorama.com) at the Top Left corner.
So, all the planet earth can see my google ID.
So,
I removed my google ID from my Theme.
Can you fix the problem please.
All versions that I am using are the latests…
if you want i can insert the ID again for a while, just to see the problem.
Thank you.
I also emailed you to contact
I am experiencing the same issue: Google Analytics code appears at the top of every page of my wordpress site.
I just upgraded to Newspaper 7.1 a few moments ago and it is still happening.
I configured it under /Newspaper/Theme Panel/Analytics/ but its clearly not working correctly.
I read in an earlier post (#111924) that it is necessary to include a script code when entering the Google Analytics ID in the Newspaper Theme Panel.
So, rather than simply pasting the Google Analytics code, as directed, into the space provided, you MUST include the code as demonstrated below:
<script>XXXXXXXXXX</script>
Once I added the script tags, the Analytics ID stopped appearing on my website.
The fact that the Newspaper template does not:
– append these code tags automatically, for users who follow the template’s OWN instructions and simply paste their Google Analytics code into the field provided
– or warn users to add these REQUIRED code tags, for users who aren’t psychic
is baffling.
I hope this helps! I have to wait for some data to accumulate before I know whether or not this actually works.
-Peter
Hi
Thanks @ptnorman for your help. Indeed there are required script tags for google analitycs code. We will change this implementation in next theme’s updates so that scripts to be added automatically.
@Diorama sorry for this inconveniences, we sill fix this issue in shortest time possible. If you need further assistance regarding the theme please let us know and will gt back to you in shortest time possible.
Thanks!
Hi everyone!
Just to be clear: The script that should be pasted into the Newspaper theme’s ‘Analytics’ section is the entire tracking code snippet provided by your Google Analytics profile, not simply the Tracking Code.
Example below, copied from my Google Analytics Profile’s ‘Tracking Info/Tracking Code’ menu:
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’https://www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘UA-111111-1’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
