Marketing Attribution Modeling
This project aims to solve the attribution problem for a SaaS company according to the given custom attribution rules. The SQL in this project is compatible with BigQuery.
In order to run this project, follow these steps (dbt must be installed):
- Clone this repo.
- Create a profile named
miro_assignment
, or update theprofile:
key in thedbt_project.yml
file to point to an existing profile (docs). Make sure theproject
anddataset
are set correctly in yourprofile.yml
for BigQuery. - Run
dbt seed
. - Run
dbt run
. - Run
dbt test
.
The documentation about the algorithm can be found in the docs direcotry and also here If you would like to generate automated documentation from dbt, run dbt docs generate
.