Does Google Analytics Delete Code.

blog cover image
8
1.2K followers

Has anyone experienced this???.

Few months ago I decided to stop working on my website so that I can see how it will behave. I gave it some time without updating my post and my traffic went from 200 visiters per day to zero though my site was just for fun without any keywords or following instructions how to make $, I just wanted to have a site thats it.

Recently I recieved an email from Amazon telling me I have a gift voucher and also some other payments from Amazon (I had joined amazon associate out of curiosity). So this wakened me up and started working on my site again by this time my traffic had gone to Zero.

So I shared my amazon payement post and story to facebook pages that I follow. Guys in those pages started asking me how did I make it? how much did I get? what did I do? just curiosty as you know the nature of human when money is mentioned.

In LinkedIn I also shared my posts and in many many articles that I have written there. As I was doing this I noticed my traffic was still Zero from google analytics. So I decided to get intouch with WA Support team. And below was the reply after I asked what wrong.


The WA support team told me that I have no analytics tracking code and I was instructed to follow giudeline to install it. So I was guided and later they installed it successfully yesterday.

Today I can see the activities....see below.


Today I can see activities in my site. My bigggest question, if I could be able to see my traffic details before how comes that the code was uninstalled. I had this code installed before after following Kyle training how comes it went missing or was deleted without my knowledge.

Any coments of experince will be highly apprecited as we help others. Thank you.


Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

15

If you updated your Theme, Google Analytics would have been deleted. Every time you update your Theme any changes you made are lost because you now have new files. The update doesn't affect your content only changes like GA.

No, I have never experience that, Martin.

Geoff is right.

If you are not using a child theme, the theme update could remove the code.

Also, certain cache plugins can break the HTML tag which is causing the invalid Google Analytics code.

Finally, a “Compress HTML” option in any plugin could do that.

Being un amature I have a long way to learn. Thank you for sharing am still learning each day.

As we all do :)

It's best to use a plugin to add code to your header or footer :) This will prevent code being removed with updates.

What does these plugin do? as you know too much plugin are not accepted as they make your site slow another hindrance. Thanks for sharing this.

The plugin gives you a way to add code to your header and footer files. I've got it on all my websites and it is a great help. Yes I agree it is not a good idea to load your website down with plugins, especially ones that are heavy.... but you do need to decide whether you want to continue to encounter this problem in the future and have the pain of adding your code over and over again, or if you want to know its not going to be an issue anymore.

Thank you..... as a newbie wrt online thing am learning each day I appreciate so much for your comment and help.

It's a pleasure - just bear in mind with plugins what you are looking at is not avoiding all plugins at any cost. Just don't be plugin crazy and add loads for anything and everything. If you need a plugin take a careful look at them.

There are 3 things I consider adding a new plugin:

1) The reviews from other people - if there are loads of negative reviews I avoid them. When I read the reviews I look for an indication of the next 2 points.
2) It must be a light plugin, not heavy. You don't want it slowing down your website.
3) It must play nicely with other plugins - some plugins are notorious for conflicting with others and crashing your site.

Cheers Lynne I do also check on the reviews, last updated and rating. But have not done much on plugins as I said am still learning. Thank you so much for your update and follow up.

It is a pleasure, I'm no expert on it but that's what I do :)

Not sure but I can say this. Every time your theme has an update, it removes the code.

Not the WordPress updates, but the theme updates.

This may explain what happened. Geoff.

OMG how now will we know this. This can kill amateurs who are very active but background activities are killing his work so sad.

Thank you for sharing this...

Another thing to keep an eye on... my my
😝

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training