diff --git a/projects/meyzieu/dbt_project.yml b/projects/meyzieu/dbt_project.yml index a86844a..eb445d4 100644 --- a/projects/meyzieu/dbt_project.yml +++ b/projects/meyzieu/dbt_project.yml @@ -30,6 +30,11 @@ clean-targets: # directories to be removed by `dbt clean` # directory as views. These settings can be overridden in the individual model # files using the `{{ config(...) }}` macro. models: + demo: + staging: + matomo: + stg_matomo_referrers: + +enabled: false meyzieu: # Config indicated by + and applies to all files under models/example/ example: diff --git a/projects/meyzieu/models/staging/matomo/stg_matomo_referrers.sql b/projects/meyzieu/models/staging/matomo/stg_matomo_referrers.sql new file mode 100644 index 0000000..73fd6c1 --- /dev/null +++ b/projects/meyzieu/models/staging/matomo/stg_matomo_referrers.sql @@ -0,0 +1,11 @@ +SELECT + label, + nb_uniq_visitors, + nb_visits, + nb_actions, + sum_visit_length, + bounce_count, + label as sub_type, + date +FROM {{ source('matomo', 'referrers') }} +WHERE label IS NOT NULL \ No newline at end of file