Thread Starter
magsw
(@magsw)
It’s been 5 days and still no data. Any suggestions?
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.
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?