Skip to main content

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

ParameterTypeDescription
crossDomainLinkerCriterion(elt: HTMLAnchorElement | HTMLAreaElement) => boolean
trackersArray<string>The tracker identifiers which will be configured
Returns:

void