browser-tracker.crossdomainlinker
Home > @snowplow/browser-tracker > crossDomainLinker
crossDomainLinker() function
Enable querystring decoration for links passing a filter
Signature:declare function crossDomainLinker(crossDomainLinkerCriterion: (elt: HTMLAnchorElement | HTMLAreaElement) => boolean, trackers?: Array<string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
crossDomainLinkerCriterion | (elt: HTMLAnchorElement | HTMLAreaElement) => boolean | |
trackers | Array<string> | The tracker identifiers which will be configured |
void