diff --git a/schema/f_tracker.yml b/schema/f_tracker.yml index fda17d1..835171c 100644 --- a/schema/f_tracker.yml +++ b/schema/f_tracker.yml @@ -11,6 +11,18 @@ cubes: - name: CPC sql: '{CUBE.costs} / nullif(coalesce({CUBE.clicks}, 1), 0)' type: number + - name: bounces + description: '# Bounces' + sql: bounces + type: sum + - name: sessions + description: '# Sessions' + sql: sessions + type: sum + - name: bounce_rate + description: '% Bounce Rate' + sql: '{CUBE.bounces} / nullif(coalesce({CUBE.sessions}, 1), 0)' + type: number dimensions: - name: date sql: 'dt'