Skip to main content

Filter events

Ignore page views from test servers or office computers to prevent test and support activity from affecting customer data.

Updated over a week ago

You can use filters to ignore activity from pages that match one or more of the following criteria:

  • URL - the URL of the site, for example, you might want to exclude staging.mycompany.com.

  • User Agent - the browser used to browse your site.

  • IP - the IP address of the visitor. For example, you might exclude your office IP to ensure that activity from your internal staff doesn't trigger remarketing.


Filter your office IP address

If your support staff regularly log in to your website on behalf of customers, it can seem to Fresh Relevance as if all these customers are logging on from your office PCs, and are therefore related as members of a large family group.

To prevent this and keep the customers separate, you must either:

  • always use a new private or incognito window for each support call to keep customers separate

  • or

  • configure Fresh Relevance to filter your office IP addresses, so activity data from your office devices is not captured.

To filter the IP address for a single computer:

  1. Find your IP address.
    ​You can use an online checker such as What Is My IP Address.

  2. Expand the User menu, and go to Settings > Website Settings.

  3. Select Activity Block (Test/Office Data).

  4. Expand the first drop-down menu and select IP.

  5. Expand the second drop-down menu and select IP match.

  6. Enter your IP address in the Enter value field.
    ​You can optionally add a description for the exclusion rule.

  7. Select ADD.

  8. Repeat steps 4-7 for each IP address you want to exclude, then go to the bottom of the page and select VALIDATE AND SAVE.

Filter an IP address range

You must to know the IP range you want to exclude before proceeding.

  1. Expand the User menu, and go to Settings > Website Settings.

  2. Select Activity Block (Test/Office Data).

  3. Expand the first drop-down menu and select IP.

  4. Expand the second drop-down menu and select IP Match.

  5. Enter the IP range you want to exclude.

  6. Select ADD.

  7. Select VALIDATE AND SAVE.

You can use commas or ranges. For example, 123.234.111.0-123.234.111.5 would match any address in that range.

You can also use CIDR notation. For example 123.234.111.0/24 would match any IP in the range 123.234.111.0 to 123.234.111.255.

You can use regular expressions for more complex matches. For example, User Agent Regex Firefox\/1\d\.0 would match Firefox 15.0, Firefox 16.0, and so on. Select Regex from the second drop-down menu to use a regular expression in your rule.


Filter your staging server URL

Fresh Relevance monitors events and stores product details as shoppers browse your website, but if there are alternate versions of the site, for example a development version on a staging server, then you probably want Fresh Relevance to ignore all but the main version.

To filter out a URL:

  1. Expand the User menu, and go to Settings > Website Settings.

  2. Select Activity Block (Test/Office Data).

  3. Expand the first drop-down menu and select URL.

  4. Expand the second drop-down menu and select Contains.

  5. Enter a section of text that identifies the URL you want to exclude in the Enter value field. For example staging.mycompany.
    ​You can optionally add a description for the exclusion rule.

  6. Select ADD.

  7. Repeat steps 4-7 for any other URLs you want to exclude, then go to the bottom of the page and select VALIDATE AND SAVE.

You can use the same approach to selectively block events from specified pages on your main site too, if you want to do so.

For example, if the URL contains staging.mycompany.com, any pages viewed on either http://staging.mycompany.com or HTTP://STAGING.MYCOMPANY.COM will be ignored.

Did this answer your question?