api-docs/docs/browser-tracker/markdown/browser-tracker.discardhashtag.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [discardHashTag](./browser-tracker.discardhashtag.md)
## discardHashTag() function
Strip hash tag (or anchor) from URL
<b>Signature:</b>
```typescript
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 |
<b>Returns:</b>
void