Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 660 Bytes

File metadata and controls

25 lines (15 loc) · 660 Bytes

Home > @snowplow/browser-tracker > setOptOutCookie

setOptOutCookie() function

Sets the opt out cookie.

Signature:

declare function setOptOutCookie(name?: string | null, trackers?: Array<string>): void;

Parameters

Parameter Type Description
name string | null of the opt out cookie
trackers Array<string> The tracker identifiers which will be configured

Returns:

void