OptionalrequestWeb standard Request object. Use this in a edge function to pass the incoming request object. The SDK will check the request object for cookies to track the user, and extract preset attributes such as query parameters, referrer, geolocation etc.
OptionaluserThe user ID. Pass the user ID explicitly.
OptionalcustomPass a custom variant query parameter name.
SDK initialization options