-
-
Save markstinson/3c1fd4816c95fb3829239b03fe0944a9 to your computer and use it in GitHub Desktop.
Facebook Ad Approval Bot Exclusion for Google Analytics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enter this text as a filter for your views. | |
This will stop the massive spikes of fake traffic that occur from Facebook's bots when you create new Facebook Ads. | |
Go to Admin > Filters > Set a New Custom Filter > Exclude > IP Address | |
In the Filter Pattern enter: | |
^173\.252\.96\.([0-9]|1[0-9])$|^173\.252\.88\.([0-9]|1[0-9]|2[0-1])$|^173\.252\.64\.([0-9]|1[0-9])$ | |
NOTE: Test on a different view first to ensure data lossage will not occur. I'm not responsible if it does. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment