Google Analytics Stopped Tracking Visits - NEED HELP!
-
Hi Moz Community,
I have about 10 sites, static HTML sites and WordPress sites, which ALL stopped tracking Google Analytics on August 2nd. They go to a flat-line! Dead! No data!
Has anyone else experienced this either currently or before? I have confirmed all code is correct as it's been tracking these sites for years. One site gets 5,000+ visits a month and they are sitting at only 1,500 now and will be a fun conversation to have with the client.
If all code is correct, what should I do? How do I overcome this without having to re-create another account/tracking ID?
Never dealt with something like this before and there is not much on the web or in other forums. Would appreciate any help or advice or tips! - Patrick
-
Great to hear that it's fixed.
We call that master view a Raw account, and label the rest as Filtered (Filter Type). We use Filtered (Primary) as the main account that we look at day to day. So yes - definitely set those master accounts up.
-
Hi Kane,
Actually, that is exactly what happened. One of our developers added an | exclusion at the end of their sole Spam Bot Filter and it in turn, shut down collection of data. So, I worked with the Google Adwords support team and they determined that was the cause.
We removed it, I picked up some new, great pointers from them, and all are back up and running. They advised to always have a Master Analytics View which collects ALL data (even the spammers), then another called Filtered View, which eliminates the spammers and then a Test View to play with new filters.
It is something so simple to implement and now I know moving forward with all new clients/accounts and have been spending time updating all current accounts to have these 3 views in Analytics.
- Patrick
-
Hey Patrick,
I have a good guess as to the problem. Has anyone installed Bot Filters on these accounts? If someone installed a bunch of bot filters incorrectly (for example a hostname exclusion instead of a hostname inclusion) that would cause tracking to disappear despite proper on-site installation.
August 2nd was the day that Moz published a blog post on this exact topic, so that in particular makes this my best guess.
If you want to post screenshots of the filters on these account I'm happy to glance at them.
-
Hi Alick,
Correct, none of the affected 14 sites were or have been penalized by Google for any of their reasons (malware, spammy links, etc). Actually most are just your standard brochure type informational website and only 2 are actively doing any SEO/PPC campaigns.
We checked Real Time and saw they were not working. We also confirmed the notices in GA for the tracking code not working any more. I got that tip from you, so thank you very much for that.
I have re-entered all the GA codes and/or plugins for the WP sites and will monitor more today and over the weekend. It was a completely random event which doesn't make any sense.
- Patrick
-
Hi Dirk,
Thanks for the tip on installing the Tag Assistant. I have done that now and will toy around with it today/this weekend. I confirmed that all the tracking codes were properly set up, however, in the GA profiles, you visit > Admin > Tracking Info > Tracking Code > and I saw notices from each of the 14 affected sites that the code wasn't being recognized.
I believe I have corrected the issue, but still doesn't explain why for years there was no issues, no hosting changes, no WP changes (as it would've affected so many more sites, and not just mine or my clients, but 1,000's around the world from a plugin update or something), not isolated to just WP sites as I had HTML sites affected.
I will be monitoring and checking these sites and all the others just in case. Never seen anything like this before. Thanks for your reply!
- Patrick
-
Thanks for the reply, David.
What is weird is of the 80+ accounts I can see and manage, 14 in total were affected once I got through checking all site profiles. On Aug 2nd, the 14 sites go to zero.
The odd part is some are WordPress sites and 5 are static HTML sites. Some are hosted in GoDaddy. Some are not. Some sites I haven't even logged into for months (especially the HTML sites). They track everything up to Aug 1st as normal.
- I checked all front end source code for the GA code = confirmed positive
- I checked for duplicate GA code = confirmed negative
- I checked the WP sites for combating GA plugins = confirmed negative (some were using Google Analyticator and some just the normal Google Analytics and some using Yoast or All In One SEO, but none of them had 2 GA plugins)
- I checked the Filters as some have Filters, others don't. The one's that have the Filters are using the same ones to block referral spam as my 3 company sites, and pretty much all of the others I manage, so it can't be Filters
- I checked for spacing in the code as suggested above = confirmed negative
What I've had to do is remove whatever plugin they were using. Then installed another and authenticated. I will know by morning if that worked as the "Tracking Code" is not showing errors and is showing that is is actively tracking data. The Real Time is as well, so I assume my trick worked, but want to make sure it remains.
- Patrick
-
It seems extremely weird that ALL of your sites have stopped recording and not just the odd one!
We often get this issue with our clients as they feel the need to go into their Wordpress sites and add the Analytics code them selves. Often causing it to duplicate the code and stop Analytics recording the data properly!
First, I would 'view source' of the web pages and check that their is only one set of Analytics code on the site
Then check to see if there are any filters on the Analytics account that is causing it to block the dataNot convinced that they will solve your issue as for them to affect multiple sites all at once is weird, and you may have already checked the above! But it's worth a shot.
-
On top of what Alick already mentioned you could also install the Chrome Tag Assistant plugin to double check that your code is really sending data - https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk
When your traffic drops to zero is almost certain that there is an issue with the tracking code.
rgds
Dirk
-
Hi Patric,
I presume your site is not penalized by Google.
There are a few ways you can check to see if the Google Analytics tracking code on your website is working.
- Check your Real-Time reports - If you see data in these reports, it means that your tracking code is currently collecting data.
- Check the Tracking Status in your property - Which tells you if your tracking code is working or not.
- Please also check analytics code for any extra space.
Thanks
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Different statistics in Google Analytics
Hi! A client of mine is having some trouble on his Google Analytics overview. When he checks the yearly report with number of visitors, new visitors, returning, ... he gets statistics that doesn't match mine. Also, he gets a notation from Google that no hits were fired, although the script is still there. On the other hand, I (logged in with another account) am seeing all statistics correctly. FYI: no filters were installed, nor segments, ... Why does the client see different and incorrect statistics? There should be a setting or something I'm overseeing. Hope you guys can help.
Reporting & Analytics | | conversal0 -
How do you analyze a traffic drop with no historic Google Analytics data?
A client of mine has a large website with multiple sections (shop, forums, articles, etc.) that apparently had a significant reduction in rankings, traffic, and sales in the past. However, historic Google Analytics data is not available for the site, and I'm having troubles identifying anything concrete about the traffic drop, such as when it happened, what pages/sections it happened to, etc. The shop traffic drives most of the revenue, but it's a small number compared to the forums traffic, so it's hard to pick anything out of top-line trends like SEMrush offers. What tools or strategies might help in this situation?
Reporting & Analytics | | AdamThompson0 -
Google Analytics showing discrepancy in Geo data
My site is related to UAE and the Gulf region. An year ago, Google Analytics abruptly started showing high incoming traffic from USA (Visits grew from 50k/month to 500k/month) while the overall traffic was stagnant. An year down the line, this has now been reverted back to normal nos and the overall traffic is still maintained. What could be a possible explanation for this discrepancy? Since this reversal has also now boosted traffic nos for other countries, should we rely on this data? Or is it polluted?
Reporting & Analytics | | vivekrathore0 -
Regular Expressions in Google Analytics
Hi All I've been struggling to create a regular expression for a Google Analytics goal step that would match the following: ^/specifictextstring/anytextstring/anytextstring/
Reporting & Analytics | | Cabbagefeet
^/specifictextstring/anytextstring/ However I don't want it to match any URLs that end with: /anytextstring**_**phonecall or /phonecall, for example: /specifictextstring/anytextstring/anytextstring/anytextstring**phonecall
/specifictextstring/anytextstring/anytextstring**phonecall
/specifictextstring/anytextstring/anytextstring/phonecall
/specifictextstring/anytextstring/phonecall Does anyone have any ideas? Thanks in advance for all contributions.0 -
Tag Manager & Universal Analytics Code - Do you need both?
Hi Mozzers I've created a container for a domain in Google Tag Manager. Within that container I've created a tag for universal analytics with track type "Page view" and the firing rule "all pages". Can I then replace the Universal Analytics code with the tag manager code? Would it still track all the normal data in Google Analytics? There are no events setup up yet so that's not a concern but there are goals setup tracking which are triggered by a page view. Would they be affected? Thanks Anthony
Reporting & Analytics | | Tone_Agency1 -
Google Analytics Site Search to new sub-domain
Hi Mozzers, I'm setting up Google's Site Search on a website. However this isn't for search terms, this will be for people filling in a form and using the POST action to land on a results page. This is similar to what is outlined at http://support.google.com/analytics/bin/answer.py?hl=en&answer=1012264 ('<a class="zippy zippy-collapse">Setting Up Site Search for POST-Based Search Engines').</a> However my approach is different as my results appear on a sub-domain of the top level domain. Eg.. user is on www.domain.com/page.php user fills in form submits user gets taken to results.domain.com/results.php The issue is with the suggested code provided by Google as copied below.. Firstly, I don't use query strings on my results page so I would have to create an artificial page which shouldn't be a problem. But what I don't know is how the tracking will work across a sub-domain without the _gaq.push(['_setDomainName', '.domain.com']); code. Can this be added in? Can I also add Custom Variables? Does anyone have experience of using Site Search across a sub-domain perhaps to track quote form values? Many thanks!
Reporting & Analytics | | panini0 -
Google Analytics Custom Filter
Hello, Quick question, when I create a custom filter on a profile that already has data collected will that filter apply to already collected data or will the filter only apply from the day it was created? Am doing a custom exclude IP filter. Much thanks,
Reporting & Analytics | | Unity
Davinia0 -
Google Analytics: Do url redirects show up
Good Morning from 6 degrees c mostly cloudy wetherby UK 🙂 A redirect has been set up with the effect that when you key in www.hyload.co.uk it forwards to www.ikogroup.co.uk My question is please...within Google analytics will referall traffic from www.hyload.co.uk show up in referral traffic or because its a redirect will it be counted as direct traffic. Thanks in advance, David
Reporting & Analytics | | Nightwing0