Skip to content

Commit

Permalink
new session id
Browse files Browse the repository at this point in the history
  • Loading branch information
tessa-beijloos-jumbo committed Dec 16, 2024
1 parent ff4696b commit 6368783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/staging/base/base_ga4__events.sql
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ with source as (
renamed as (
select
{{ ga4.base_select_renamed() }},
CAST(COALESCE(REGEXP_EXTRACT(select value.string_value from unnest(event_params) where key = 'ga_session_id'), r'^GS\d\.\d\.(\d+)'), NULL) AS INT64)) as session_id_mp
CAST(COALESCE(REGEXP_EXTRACT(select value.string_value from unnest(event_params) where key = 'ga_session_id'), r'^GS\d\.\d\.(\d+)'), NULL) AS INT64 as session_id_mp
from source
)

Expand Down

0 comments on commit 6368783

Please sign in to comment.