Velir / dbt-ga4

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

Allow columns to be renamed regarding conversion events #211

Closed ryan-systematik closed 1 year ago

ryan-systematik commented 1 year ago

Description & motivation

Current Issue:

Build of stg_ga4__page_conversions model fails when the value set for conversion_events is a special character that does not correspond to a column name.

Soluton:

Define a new optional variable conversion_event_column_renamers whose key matches conversion_events and assign the column name renamed at query generation time.

Checklist