Home > @snowplow/browser-tracker > setCookiePath
Set first-party cookie path
Signature:
declare function setCookiePath(path: string, trackers?: Array<string>): void;| Parameter | Type | Description |
|---|---|---|
| path | string | The path which will be used when setting cookies |
| trackers | Array<string> | The tracker identifiers which will be configured |
Returns:
void