Skip to content

Commit f6bf2c5

Browse files
committed
Update context_existance_check.sql
1 parent 1223a5f commit f6bf2c5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: macros/context_existance_check.sql

+9-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You may obtain a copy of the Snowplow Personal and Academic License Version 1.0
2525
'contexts_com_snowplowanalytics_mobile_application_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__application_context')
2626
],
2727
"snowplow__enable_browser_context": [
28-
'contexts_com_snowplowanalytics_snowplow_web_page_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__browser_context')
28+
'com_snowplowanalytics_snowplow_browser_context_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__browser_context')
2929
],
3030
"snowplow__enable_geolocation_context": [
3131
'contexts_com_snowplowanalytics_snowplow_geolocation_context_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__geolocation_context')
@@ -48,7 +48,15 @@ You may obtain a copy of the Snowplow Personal and Academic License Version 1.0
4848
],
4949
"snowplow__enable_app_errors": [
5050
'unstruct_event_com_snowplowanalytics_snowplow_application_error_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__application_error_events')
51+
],
52+
"snowplow__enable_mobile": [
53+
'contexts_com_snowplowanalytics_snowplow_client_session_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__session_context'),
54+
'unstruct_event_com_snowplowanalytics_mobile_screen_view_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__screen_context'),
55+
],
56+
"snowplow__enable_web": [
57+
'contexts_com_snowplowanalytics_snowplow_web_page_1' if target.type not in ['redshift', 'postgres'] else var('snowplow__page_view_context'),
5158
]
59+
5260
}
5361

5462
%}

0 commit comments

Comments
 (0)