• Resolved magsw

    (@magsw)


    I have a new website and have implemented All in One SEO.

    I added my Google Analytics code and it certainly seems to appear on all the pages – there are only 4 at the moment. However no data is coming thru to Analytics.

    I sent test traffic thru in Analytics and it finds the website no problem. I also ran Google Tag Assistant, it recorded all the page hits and reported no problems.

    But still no data in Analytics. It has been 7 hours since I implemented this and I would have expected to see some data by now.

    Site is at http://www.whiskey-tours-ireland.com/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Thread Starter magsw

    (@magsw)

    It’s been 5 days and still no data. Any suggestions?

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Looking at the source code of your site, the Google Analytics information is there, meaning All in One SEO Pack is doing its job.

    View post on imgur.com


    Since AIOSEOP is working, this is likely an issue on Google’s side. You may want to try their forums, and see if there are any issues in Google webmaster tools or in Google tag manager. https://support.google.com/analytics/answer/1008083?hl=en

    What modules are active in All in One SEO Pack?

    Thread Starter magsw

    (@magsw)

    Could you just confirm what files in WordPress All in One SEO uses to work, if any. For some reason the .htaccess file was missing when I first set up the site and I had to create one. I am just suspicious something else might be missing which could impact on this.

    The GA code was working on the site I had in place before I converted it to WordPress.

    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    The Google Analytics portion to make it work is in the source code of any page on your site (you must be logged out to see it).

    <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','//www.google-analytics.com/analytics.js','ga');
    
    			ga('create', 'UA-71832534-1', 'auto');
    			
    			ga('send', 'pageview');
    			</script>

    If something is messed up in your htaccess file (which can cause things to be blocked), you can recreate it by deleting or renaming it, then browse to the permalinks settings page in WordPress admin, and clicking save. This will recreate a new htaccess file.

    What All in One SEO Pack modules do you have active?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Google Analytics not working’ is closed to new replies.