/attribution-modeling-dbt

dbt project for marketing attribution to acquisition channels for a saas organization

GNU General Public License v3.0GPL-3.0

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):

  1. Clone this repo.
  2. Create a profile named miro_assignment, or update the profile: key in the dbt_project.yml file to point to an existing profile (docs). Make sure the project and dataset are set correctly in your profile.yml for BigQuery.
  3. Run dbt seed.
  4. Run dbt run .
  5. 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.