Many Google Analytics accounts are plagued by seemingly weird traffic sources such as '' and ''. These are so-called 'referrer spam': artificially created traffic to lure Google Analytics users to visit these websites.

Unfortunately this fake traffic not only spoils your referral report in Leadfeeder, but also skews your metrics in Google Analytics.

Happily this traffic is very easy to get rid of with Google Analytics Filters.

Here's how to set up a filter:

1. Log in to your Google Analytics account

2. Navigate to the Admin section in Google Analytics (seen below)

3. Choose the correct GA View and select "Filters" (seen below)

4. Click "New Filter" button (seen below)

5. Enter a name for your filter, e.g. "Exclude Referrer Spam" (seen below)

6. Select Filter type "Custom" (seen below)

7. Select "Campaign Source" as "Filter Field" (seen below)

8. Copy and paste the following to the "Filter Pattern" field (seen below):|||||

9. You can click "Verify this filter" to see a short report from Google Analytics on how the new filter would affect your existing data

10. Double check that you've entered everything correctly and click "Save"

Notice that the filters do not apply to your existing data and filtered data cannot be recovered afterwards.

Did this answer your question?