https://www.growthbook.io/ logo
r

red-mouse-1009

04/17/2023, 6:47 AM
Hey , I am having a landing page with anonymous users . I am planning to implement this using bigquery . So I was planning to generate a unique id to give this as an attribute to growthbook . What is the recommended method to create a unique user id ? Since this is a landing page with no logged in users.
f

fresh-football-47124

04/17/2023, 6:48 AM
its recommended to use an id that the other tracking system uses
if none are available, you can make it - most languages have a common way to make one
r

red-mouse-1009

04/17/2023, 6:52 AM
I am using javascript sdk . So in that case is it okay generate a random unique id from front end ?
f

fresh-football-47124

04/17/2023, 7:42 AM
well, for that ID to be useful, you’ll have to make it persistent
and also use it for other metric events