To exclude PreFlight traffic from your analytics platform you can use an IP exclusion to exclude the range of IPs PreFlight uses to run tests - using a regular expression (RegEx).
To exclude from Google Analytics specifically:
Go to your Google Analytics account and click 'admin'
Click on 'All Filters' on the 'account' panel
Click 'Add Filter'
Give your Filter the name 'PreFlight Tests'
Click 'Custom' under 'Filter Type'
Choose 'Exclude' and select/search 'IP Address' under 'Filter Field'
See IP Addresses or RegEx to exclude:
Apply the filter to ALL available views.
Save The Filter
And you're done! None of those pesky tests coming up in your usage stats.
Have any questions? Start a chat bottom right, or drop us an email: [email protected]