How to block spam from google analytics

There are numerous websites like listed below which generates spam activities on your website, and may completely mess up with google analytics report to addup to the number of daily visitors which are completely false users.

Login to google analytics,

go to Acquasition-> All Trafic -> Referrals


Copy the name of spaming website, as shown in above image, for example

and click on “Admin” tab as shown in above image at top right,


As shown in above image, in Admin tab, check for “VIEW”->All website data -> Filters

and click “New Filter” tab, inside this, “Create New Filter” , add the filter name as you want

Related :   How does your website looks like in another country ?

in “Filter Name” , click “Filter Type” as “Custom” , set “Filter Field” to “Campaign Source”

in the “Filter Pattern”, paste the URL we copied above, and click “Verify this filter”

If there is a spam activity from same website, you should see something like below,


Now Click “Save” and DONE 🙂


Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded