Skip to main content

browser-tracker.setreferrerurl

Home > @snowplow/browser-tracker > setReferrerUrl

setReferrerUrl() function

Override referrer

Signature:
declare function setReferrerUrl(url: string, trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
urlstringCustom Referrer which will be used as override
trackersArray<string>The tracker identifiers which will be configured
Returns:

void