Skip to content

Script API

data-domain

Specifies the domain used by the client. Needs to match the domain of the website, should not include the protocol (http/https), and should be saved in the Penkle dashboard.


data-exclude

Excludes any route which matches the given value. Separated by a comma to exclude multiple values.


data-include

Includes any route which matches the given value. Separated by a comma to include multiple values.

Note: The data-include attribute takes precedence over the data-exclude attribute. If you specify both attributes, the script will only track the elements specified in the data-include attribute.