Analytics
2.4K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Real time data available despite removing tracking code.

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

Recently I commented out my tracking code from all my pages for testing but although the real time data reduced by a great amount, I still am getting 1-2 pageviews from my pages. Is this because of the code being cached in some browsers? It clearly is not referral traffic as it is coming from a valid host. Can someone please clarify?

1 Expert replyverified_user

Re: Real time data available despite removing tracking code.

Top Contributor
# 2
Top Contributor
Hi,

The hostname can be faked in the measurement protocol payload, so if the spammers crawled your site they know your domain name and they are sending hits that look legit.

Arnold Majlath, Google Analytics Top Contributor
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Real time data available despite removing tracking code.

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi @Arnold M

Thanks for the reply. How can I prevent analytics from recording such spammed hits?
Marked as Best Answer.
Solution
Accepted by Bronwyn V (Top Contributor)
January 2016

Re: Real time data available despite removing tracking code.

Top Contributor
# 4
Top Contributor
Please check this great article: http://help.analyticsedge.com/spam-filter/definitive-guide-to-removing-google-analytics-spam/
Hope it helps.

Arnold Majlath, Google Analytics Top Contributor
Circle Me On Google+ | Visit me @ Redfly Digital