Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 762 Bytes

File metadata and controls

25 lines (15 loc) · 762 Bytes

Home > @snowplow/browser-tracker > setUserIdFromLocation

setUserIdFromLocation() function

Set the business-defined user ID for this user using the location querystring.

Signature:

declare function setUserIdFromLocation(querystringField: string, trackers?: Array<string>): void;

Parameters

Parameter Type Description
querystringField string Name of a querystring name-value pair
trackers Array<string> The tracker identifiers which will be configured

Returns:

void