Reputation: 39889
I released a new version of my website today and with the old version, I was around 90 visitors an hour, and after the update, it dropped to around 20 visitors.
I don't know what went wrong. Here's the stats:
As you can see, a drop occurred between 3pm and 4pm and drop to finally get to 0 since then.
I added an httpS connection, but the non www and http all redirects to https://www
automatically. The tracker is the same, I only added
ga('set', 'forceSSL', true);
ga('set', 'appVersion', '2');
ga('send', 'pageview');
There is only one page (it's a basic app), so there is no other page that could have the tracker removed.
Now, I'm wondering something, when I start the tracker, I send this info :
ga('create', 'UA-XXXXX-X', 'voilanorbert.com');
shouldn't it be ga('create', 'UA-XXXXX-X', 'www.voilanorbert.com');
? (with "www.") Is this the issue?
Big Update: I decided to create a new tracker in Google to see if this was a reason, and yes it is! A few minutes after I changed it to the new tracker, the data went to 1 visitors per hour, to 18 in real time! There is clearly a problem in Google Analytics!
Upvotes: 0
Views: 170
Reputation: 217
Your tracking code was flawed. This does not imply Google Analytics does not work.
When in doubt, stick to the regular tracking code or use Google Tag Manager.
Upvotes: 1