I noticed that the package currently uses custom logic to calculate session-level traffic parameters such as source, medium, campaign, channel_grouping, etc using last non-direct attribution.
However, Google has introduced a new field, session_traffic_source_last_click, which provides the same session-scoped traffic information using the standard last non-direct click attribution method. Leveraging this field could help:
- Ensure better alignment with GA4's attribution methodology
- Improve data consistency
- Reduce custom logic and maintenance overhead
I noticed that the package currently uses custom logic to calculate session-level traffic parameters such as
source,medium,campaign,channel_grouping, etc using last non-direct attribution.However, Google has introduced a new field,
session_traffic_source_last_click, which provides the same session-scoped traffic information using the standard last non-direct click attribution method. Leveraging this field could help: