nutritious-dusk-46472
06/25/2025, 10:15 PMSELECT
user_id,
timestamp,
event_count_in_session as actions_per_session,
session_id
FROM `test_project.test.test_user_sessions`
WHERE timestamp >= '2025-06-16 00:00:00'
And I have metrics defined like the first picture attached. I want to aggregated the metrics based on experiment variant id during the experiment running window. So according to the ExperimentResults query SQL in the picture, does I have the experiment_users table for free? Or do I have to create my own experiment_users table?
SELECT
variation,
-- Total metric value
SUM(m.value) as numerator,
-- Number of users in experiment
COUNT(*) as denominator,
-- Final result
numerator / denominator AS value
FROM
experiment_users u
LEFT JOIN metric m ON (m.user = u.user)
GROUP BY variation
helpful-application-7107
06/25/2025, 10:44 PMnutritious-dusk-46472
06/25/2025, 11:36 PMhelpful-application-7107
06/25/2025, 11:53 PMtracking callback
section in your sdk documentation: https://docs.growthbook.io/lib/node#experimentation-ab-testing
You should use whatever logging function you use for most of your events and log the experiment and variation ids as shown in the examples.nutritious-dusk-46472
06/26/2025, 12:07 AM