Skip to content

Commit d0c9a16

Browse files
authored
feat(DENG-9873): Add 2 new columns to telemetry.cfs_ga4_attr (#8237)
* feat(DENG-9873): Add 2 new columns to telemetry_derived.cfs_ga4_attr_v1 * feat(DENG-9871): Add 2 new columns to firefoxdotcom_derived.ga_sessions_v2 (#8234)
1 parent 291020c commit d0c9a16

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

sql/moz-fx-data-shared-prod/telemetry_derived/cfs_ga4_attr_v1/query.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ SELECT
110110
ga4.distinct_experiment_ids_from_event_params AS ga4_distinct_experiment_ids_from_event_params,
111111
ga4.first_experiment_branch_from_event_params AS ga4_first_experiment_branch_from_event_params,
112112
ga4.distinct_experiment_branches_from_event_params AS ga4_distinct_experiment_branches_from_event_params,
113+
ga4.first_gad_campaignid_from_event_params AS ga4_first_gad_campaignid_from_event_params,
114+
ga4.distinct_gad_campaignid_from_event_params AS ga4_distinct_gad_campaignid_from_event_params,
113115
ga4.manual_campaign_id AS ga4_manual_campaign_id,
114116
ga4.manual_campaign_name AS ga4_manual_campaign_name,
115117
ga4.manual_source AS ga4_manual_source,
@@ -214,7 +216,9 @@ LEFT JOIN
214216
first_experiment_id_from_event_params,
215217
distinct_experiment_ids_from_event_params,
216218
first_experiment_branch_from_event_params,
217-
distinct_experiment_branches_from_event_params
219+
distinct_experiment_branches_from_event_params,
220+
first_gad_campaignid_from_event_params,
221+
distinct_gad_campaignid_from_event_params
218222
FROM
219223
`moz-fx-data-shared-prod.telemetry.ga4_sessions_firefoxcom_mozillaorg_combined`
220224
LEFT JOIN

sql/moz-fx-data-shared-prod/telemetry_derived/cfs_ga4_attr_v1/schema.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,14 @@ fields:
316316
- name: ga4_distinct_experiment_branches_from_event_params
317317
type: STRING
318318
mode: REPEATED
319+
- name: ga4_first_gad_campaignid_from_event_params
320+
type: STRING
321+
mode: NULLABLE
322+
description: The first non-null reported gad_campaignid from event_params for this session.
323+
- name: ga4_distinct_gad_campaignid_from_event_params
324+
type: STRING
325+
mode: REPEATED
326+
description: All non-null reported gad_campaignid from event_params for this session.
319327
- name: ga4_manual_campaign_id
320328
type: STRING
321329
mode: NULLABLE

0 commit comments

Comments
 (0)