-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conversions to Linkedin Ads Source package (#67)
* add macros for conversions, attempt passthrough logic * macro fiddling * workin * Update seed file to fix buildkite errors * syntax * more model updates, documentation yml, regen docs * make code DRYer * more macros * documentation * DECISIONLOG & README * PR fixes * regen docs * README * changelog * changelog * cast as bigint before coalesing with 0 * update docs with code update * joe suggestion --------- Co-authored-by: Jamie Rodriguez <[email protected]>
- Loading branch information
1 parent
d6f11d2
commit f953ac9
Showing
18 changed files
with
304 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Best Practices with Configuring LinkedIn Ads Conversion Fields Variable | ||
The `linkedin_ads__conversion_fields` variable is designed for end users to properly measure the conversions at the proper level of granularity. By default, we use `external_website_conversions` and `one_click_leads` as they are arguably the most used conversion measures, and fulfill entirely separate objectives as conversions (Website Conversion and Lead Generation respectively). | ||
|
||
However, if you decide to configure your own conversion field variable fields, we highly recommend that you bring in conversions at the proper level of segmentation, so there aren't conversions that belong to multiple fields you bring in. | ||
|
||
### Bad Practice Example | ||
|
||
```yml | ||
# dbt_project.yml | ||
vars: | ||
linkedin_ads__conversion_fields: ['external_website_conversions', 'external_website_pre_click_conversions', 'external_website_post_click_conversions'] | ||
``` | ||
`external_website_conversions` is comprised of both `external_website_pre_click_conversions` and `external_website_post_click_conversions`. | ||
|
||
### Good Practice Example | ||
|
||
```yml | ||
# dbt_project.yml | ||
vars: | ||
linkedin_ads__conversion_fields: ['external_website_pre_click_conversions', 'external_website_post_click_conversions'] | ||
``` | ||
|
||
`external_website_pre_click_conversions` and `external_website_post_click_conversions` are two different type of external website conversions, so there should be no overlap. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.