Skip to main content

browser-tracker.setcustomurl

Home > @snowplow/browser-tracker > setCustomUrl

setCustomUrl() function

Override url

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

Parameters

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

void