billowy-pizza-30300
08/19/2025, 2:46 PMproduct_viewed will almost always be fired before experiment_viewed, but GrowthBook expects the activation event to be fired after experiment exposure.
If not, this would be a much appreciated feature requestfuture-teacher-7046
SELECT
  user_id,
  DATE_SUB(timestamp, INTERVAL 5 SECOND) as timestamp,
  ...
The other solution is to add a negative "Metric Delay" to the product viewed metric.  This setting is a little hard to understand, but basically it lets you include metrics from BEFORE the experiment viewed event.  This is in hours, so if you set it to something like -0.02, it will include metrics up to 1 minute before viewing the experiment.  There are some docs about this, but it's for a slightly different use case: https://docs.growthbook.io/app/metrics#metric-delaybillowy-pizza-30300
08/19/2025, 3:01 PM