api-docs/docs/browser-tracker/markdown/browser-tracker.setdocumenttitle.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [setDocumentTitle](./browser-tracker.setdocumenttitle.md)
## setDocumentTitle() function
Override document.title
<b>Signature:</b>
```typescript
declare function setDocumentTitle(title: string, trackers?: Array<string>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| title | string | Document title which will be used as override |
| trackers | Array<string> | The tracker identifiers which will be configured |
<b>Returns:</b>
void