Skip to main content

browser-tracker.clearglobalcontexts

Home > @snowplow/browser-tracker > clearGlobalContexts

clearGlobalContexts() function

Clear all global contexts that are sent with events

Signature:
declare function clearGlobalContexts(trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
trackersArray<string>The tracker identifiers which the global contexts will be cleared from
Returns:

void