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
Parameter | Type | Description |
---|---|---|
enable | boolean | Whether to enable stripping of hash |
trackers | Array<string> | The tracker identifiers which will be configured |
void