Is it possible to get the exact hashing algorithm ...
# ask-questions
c
Is it possible to get the exact hashing algorithm that was used for a previous experiment? I want to analyze behavior of users and segment them based on the experiment variation they would have viewed. For example, we ran a test on two different navigations, and we have click tracking for the nav links, but for the nav link clicks I’d like to classify which variation they would have seen based on their anonymous_id and experiment key.
f
yes
we use deterministic hashing, all you need is the experiment name and user attribute you used for randomization
c
Do you share the code for the hashing algorithm so I can calculate post-hoc? I found a way around this, but it would help my predicament of joining the GA4 events table on itself
f
sure, we're open source
you can also use any of the SDKs to get the same results
c
ah ty ty, I’m in Big Query so probably can’t use the SDK
f
true