Skip to main content

Attribution

Package Configuration Variablesโ€‹

This package utilizes a set of variables that are configured to recommended values for optimal performance of the models. Depending on your use case, you might want to override these values by adding to your dbt_project.yml file.

note
All variables in Snowplow packages start with `snowplow__` but we have removed these in the below tables for brevity.

Warehouse and Tracker


Operation and Logic


Contexts, Filters, and Logs


Config Generatorโ€‹

You can use the below inputs to generate the code that you need to place into your dbt_project.yml file to configure the package as you require. Any values not specified will use their default values from the package.

Warehouse and Tracker
Source of conversion events
Source of paths (touchpoints) table
Source of marketing spend table
Target name of your development environment as defined in your `profiles.yml` file
Operation and Logic
The date to start processing events from in the package on first run or a full refresh, based on `cv_tstamp`
Contexts, Filters, and Logs
Path Transforms

> Click the plus sign to add a new entry
Channels to Exclude

> Click the plus sign to add a new entry
Channels to Include

> Click the plus sign to add a new entry
Campaigns to Exclude

> Click the plus sign to add a new entry
Campaigns to Include

> Click the plus sign to add a new entry
URL Hosts

> Click the plus sign to add a new entry
Attribution List

> Click the plus sign to add a new entry

Project Variables:

vars:
snowplow_attribution: null

Output Schemasโ€‹

By default all scratch/staging tables will be created in the <target.schema>_scratch schema, the derived tables, will be created in <target.schema>_derived and all manifest tables in <target.schema>_snowplow_manifest. Some of these schemas are only used by specific packages, ensure you add the correct configurations for each packages you are using. To change, please add the following to your dbt_project.yml file:

tip

If you want to use just your connection schema with no suffixes, set the +schema: values to null

models:
snowplow_attribution:
+schema: my_derived_schema
manifest:
+schema: my_manifest_schema
Was this page helpful?