Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions models/80_marts/fct_sessions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ with
campaign_id as fk__dim1_campaign,
landing_page_url_without_query_string as fk_landingpage__dim1_page,
exit_page_url_without_query_string as fk_exitpage__dim1_page,
1 as sessions_count,
{% for session_metric in var("session_metrics") %}
{{ session_metric.metric_name }}{{ "," if not loop.last }}
{% endfor %},
Expand Down
6 changes: 6 additions & 0 deletions models/80_marts/fct_sessions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ models:
meta: {}
tags: []
data_type: STRING
- name: sessions_count
data_type: INT64
config:
meta: {}
tags: []
description: Number of sessions represented in this record.
- name: button_clicks
description: Count of button click events in the session
config:
Expand Down
Loading