Spam Filter Installer

Note that there's an API Quota of 2000 writes / day on this project. If you get a Quota error, try again the next day.

This tool lets you automatically create and link referral spam filters to your Google Analytics profiles. The list of spam sources is derived from friends at Lone Goat and Analytics Canvas.

To create and link these filters, you will need EDIT access in the Google Analytics accounts you want to modify. This tool will only allow you to access privileged accounts.

Note that any existing filters with the names sa_Spam_filter_#N will be updated if there is a mismatch. Read more about the tool here. Download the source code here.


Get started by clicking the big, blue button below. You will be asked to authorize this tool to access your Google Analytics data. After doing so, you will be presented with options for filter creation.