Event Definition Filters

Event definition filters give you a way to narrow down your event definitions. You can limit event definitions to specific page, a specific domain, or a number of other options.

Supported Properties

Freshpaint allows you to create filters on the following properties:

Property

Description

Browser

The name of the browser the event occurred in.

Domain

The domain the event occurred on.

href

For events that are clicks on links, the URL to where the link goes.

Path

The portion of the URL that comes after the domain for where the event occurred.

Target Text

For events that are clicks, the text of the element that was clicked on.

Supported Filters

Freshpaint allows you to filter the above properties with the following filters:

Filter

Description

Contains

Contains checks that the property value contain the given string of characters. As an example, the value freshpaint contains the string paint.

Matches

Matches allows you to use * to match any string of characters. This allows you to match certain URL patterns. As an example, the URL pattern /docs/*/page will match both the property values /docs/directory1/page and /docs/directory2/page.

Equals

Equals checks that the property value is the same as the provided string.