... | ... | @@ -20,9 +20,9 @@ The events can be defined inside a configuration file structured like this: |
|
|
{
|
|
|
urls: string[], // the URLs on the pages on which the event will be used in (accepts the `*` wildcard, for example `["https://domain.com/*"]` will make the event available on every page of _domain.com_)
|
|
|
type: eventType, // like `eventTypes.onPage`
|
|
|
eventId: string', // the event identifier
|
|
|
eventId: string, // the event identifier
|
|
|
categories: string[], // any number of categories can be added to an event
|
|
|
selector: string, // CSS selector
|
|
|
verifyCallback?: () => boolean, // event verification function, if it returns `false` the event will not be sent
|
|
|
},
|
|
|
``` |
|
|
``` |
|
|
\ No newline at end of file |