i'm considering using the gbuuid as anonymous_id i...
# ask-questions
r
i'm considering using the gbuuid as anonymous_id in GA4 events by pushing it to all events, is it possible to modify queries to use that value from event params named as
anonymous_id
in the queries for things to "just work" and event stitching to be correct? or am i missing some huge thing by using this approach?
c
That seems right to me.
I'd love to know if you encounter blockers. You could also create a new Identifier Type in your GrowthBook datasource: New Identifier Type:
gbuuid
Add a new EAQ for that Identifier Type Add it to all your metric queries (Fact Tables, Legacy metrics, etc...)
That way you could still use the user_psuedo_id later via the Anonymous Id identifier type without changing everything. If you use fact tables, then we'll automatically support both identifier types side-by-side and aggregate by the right one for the same metrics.
r
wow, really, that sounds more or less exactly like what i'm after
If you use fact tables, then we'll automatically support both identifier types side-by-side and aggregate by the right one for the same metrics.
i would love a little more explanation on this, if i have both the "default" EAQ and my own custom one set in the datasource, will i get too many results in the metrics here? since the two different EAQ will represent the same visitors, just that the one going by gbuuid will have more events to count. just so i don't skew statistics by not understanding what happens ... :)
c
You pick one EAQ to use per Experiment, so it will only scan that table and de-duplicate and aggregate by the Identifier Type set for that EAQ.
1
r
super, thanks!