How to Block WordPress Referrer Spam in Google Analytics

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Annie_P
    Senior Member
    • Aug 2022
    • 204

    How to Block WordPress Referrer Spam in Google Analytics

    Hello,

    Can anyone help me with How to Block WordPress Referrer Spam in Google Analytics?
  • wisly.k
    Senior Member
    • May 2022
    • 195

    #2
    To block WordPress Referrer Spam in Google Analytics, follow these steps:

    Steps to block referrer in GA4

    Got into the Admin view in the Google Analytics dashboard.

    Now In the Property column, Click on the Data Streams option.

    Go to the Advance Settings section and click on the ‘More Tagging Settings. And then select ‘List Unwanted Referrals‘

    Select ‘Referral domain contains’, under Match type, and add the domain you want to block next to it.

    After That, Save it from the top right corner of the screen to save your settings.


    Steps to Block Unwanted Referrers in Older Google Analytics

    From Google analytics, admin view, select Admin view under the ‘View’ column.

    Then configure your filter settings. Now switch the Filter type to ‘Custom’ and Click the ‘Exclude’ method >> Filter Field >> from the drop-down and select the ‘Campaign Source’ option.

    Lastly, add the domains you want to block under the Filter pattern box in this Regex Expression format.
    (examplewebsite\.com|more-example\.com|.*examplesubdomain\.com)

    Click on the save button to save your filter setting.




    Comment

    VPS Hosting
    Working...
    X