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
fresh-football-47124
07/18/2024, 3:49 AM
yes
fresh-football-47124
07/18/2024, 3:51 AM
we use deterministic hashing, all you need is the experiment name and user attribute you used for randomization
c
colossal-coat-34133
07/18/2024, 4:16 AM
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
fresh-football-47124
07/18/2024, 4:17 AM
sure, we're open source
fresh-football-47124
07/18/2024, 4:17 AM
you can also use any of the SDKs to get the same results