Installing Google Analytics on my WordPress website

Posted in: Newspaper
Post count: 136

I just put a link on my NewsPaper 7. I put the following here: Newspaper-Themepanel-Analytics

I put this link:
<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&#8217;,’ga’);

ga(‘create’, ‘UA-87939568-1’, ‘auto’);
ga(‘require’, ‘displayfeatures’);
ga(‘send’, ‘pageview’);

</script>

My question now is if I did it right, because on a tutorial it said I should do this for every page. Also I couldn’t activate the adsense because the following message comes: ”You currently have a host-only AdSense account. Please visit the AdSense help center for instructions on how to show ads on this site. Learn more”

I tried to fix this, but AdSense if very vage about this. I need to wait a few days till Google will accept me or not.

Post count: 22421

Hello,

The google analytics code should go in the analytics section of the theme panel: http://screencast.com/t/g0DsKzRRms
Our theme will automatically add it to all pages.
As for the adsense, you should contact google about the error as they make the rules for their ads. Our theme will render the ad code if you paste it in the theme ad spots: http://screencast.com/t/fS2B3KCF but your ad needs to be activated first

Thank you!

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