Skip to main content

browser-tracker.discardhashtag

Home > @snowplow/browser-tracker > discardHashTag

discardHashTag() function

Strip hash tag (or anchor) from URL

Signature:
declare function discardHashTag(enable: boolean, trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
enablebooleanWhether to enable stripping of hash
trackersArray<string>The tracker identifiers which will be configured
Returns:

void