Mobile app version of vmapp.org
Login or Join
Ogunnowo487

: How to remove Google Analytics refferal traffic with unknown hostname using Google Tag Manager? I'm trying to remove ghost referral traffic in Google Analytics by excluding unknown hostnames coming

@Ogunnowo487

Posted in: #GoogleAnalytics #GoogleAnalyticsSpam #GoogleTagManager

I'm trying to remove ghost referral traffic in Google Analytics by excluding unknown hostnames coming to my site.
This technique is described at: www.lunametrics.com/blog/2014/03/11/goodbye-to-exclude-filters-google-analytics/
The exclusion is done at Google Tag Manager saving Pageviews only when a custom trigger is fired.
The custom trigger fires only when Page Hostname matches my domain hostname i.e.:

URL: www.example.com/page1.html Page Hostname: example.com

(my domain is example.com in this example)

Trigger:



Tag:


But after creating the trigger my Referral Google Analytics report after a few days still looks like this (smudged lines are my actual web site - these lines are ok):


How is it possible that an unknown Hostnames like 4webmasters.org or even (not set) are in the report when all the traffic must match my example.com hostname specified in the trigger?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ogunnowo487

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

It is not possible to use Google Tag Manager to combat this spam. Those spammers don't ever visit your website. They inject bad data into your Google Analytics by pinging the Google Analytics tracker URL directly.

The question Block social-buttons.com / simple-share-buttons.com Referral Spam has a good answer on how to block the spam. It requires that you create a filter within Google Analytics.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme