Velir / dbt-ga4

dbt Package for modeling raw data exported by Google Analytics 4. BigQuery support, only.
MIT License
289 stars 128 forks source link

Explicit Item and Ecommerce field selection #283

Closed dgitis closed 7 months ago

dgitis commented 7 months ago

Description & motivation

In order to prevent Google changes to the items and ecommerce records breaking the package, this PR hard-codes the fields output by the base_select macro which will prevent changes from breaking and allow users to override the macro and incorporate changes without waiting on a package update.

Resolves #281

Checklist

dgitis commented 7 months ago

The ReadMe changes may not be necessary. I thought I'd found my test project which has data going back a long had a couple of fields missing, but it was an error on my part compounded by my needing to run a full refresh on my test environment which stopped me from catching the missing fields.