Home > @snowplow/browser-tracker > setUserIdFromLocation
Set the business-defined user ID for this user using the location querystring.
Signature:
declare function setUserIdFromLocation(querystringField: string, trackers?: Array<string>): void;| Parameter | Type | Description |
|---|---|---|
| querystringField | string | Name of a querystring name-value pair |
| trackers | Array<string> | The tracker identifiers which will be configured |
Returns:
void