This message was deleted.
# ask-questions
w
This message was deleted.
r
GrowthBook only has access to the attributes that are set in your app (Next.js). In our Next js example, you can see that the ​`id`​ is being set and passed to GrowthBook.
g
Thanks for the reply Ryan! So, it is not mandatory to pass deviceId (GrowthBook attribute) to GoogleAnalytics. Correct?
r
Right. However, you do need to set some kind of unique ID as shown in the example. Of course, if you're not passing a deviceId, then you can't use it in experiments or flags, as you mentioned.
g
Got it. The last question about is about id. Is there any benefits/preference to use id over deviceId in the experiments?
136 Views