Skip to main content

browser-tracker.setdocumenttitle

Home > @snowplow/browser-tracker > setDocumentTitle

setDocumentTitle() function

Override document.title

Signature:
declare function setDocumentTitle(title: string, trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
titlestringDocument title which will be used as override
trackersArray<string>The tracker identifiers which will be configured
Returns:

void