snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/browser-tracker/markdown/browser-tracker.discardbrace.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/browser-tracker](./browser-tracker.md) &gt; [discardBrace](./browser-tracker.discardbrace.md)

## discardBrace() function

Strip braces from URL

<b>Signature:</b>

```typescript
declare function discardBrace(enable: boolean, trackers?: Array<string>): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  enable | boolean | Whther to enable stripping of braces |
|  trackers | Array&lt;string&gt; | The tracker identifiers which will be configured |

<b>Returns:</b>

void