From 841c523b2974eba89d5ea30c54778217e830ad1f Mon Sep 17 00:00:00 2001 From: Carlos Timoteo Date: Mon, 11 Nov 2024 12:44:32 -0500 Subject: [PATCH] Update purchase_propensity_query_template.sqlx --- .../activation_query/purchase_propensity_query_template.sqlx | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/activation_query/purchase_propensity_query_template.sqlx b/templates/activation_query/purchase_propensity_query_template.sqlx index 7bae9fbe..985edf03 100644 --- a/templates/activation_query/purchase_propensity_query_template.sqlx +++ b/templates/activation_query/purchase_propensity_query_template.sqlx @@ -4,6 +4,7 @@ SELECT b.user_pseudo_id AS client_id, b.user_id AS user_id, b.ga_session_id AS event_param_session_id, + '100' AS event_param_engagement_time_msec, CASE WHEN EXTRACT(MICROSECOND FROM b.event_timestamp) = 1 THEN b.event_timestamp ELSE TIMESTAMP_SUB(b.event_timestamp, INTERVAL 1 MICROSECOND) END AS inference_date FROM `${mds_project_id}.marketing_ga4_v1_${mds_dataset_suffix}.latest_event_per_user_last_72_hours` b,