adobe / helix-rum-enhancer

Add advanced functionality to Helix RUM Collection (client-side)
Apache License 2.0
1 stars 14 forks source link

feat: acquisition checkpoint #223

Closed ekremney closed 2 weeks ago

ekremney commented 3 months ago

This approach combines utm , paid, and email into one checkpoint = acquisition. Uses document.referrer as source, and the combined value as target:

example from real use-case

checkpoint=acquisition
source=https://www.youtube.com/
target={ utm_medium: 'youtube', utm_source: 'video', others: ['gclid'] }

referrer and query params collected are being processed by rum-collector via https://github.com/adobe/helix-rum-collector/pull/358

Please ensure your pull request adheres to the following guidelines:

Related Issues

Thanks for contributing!

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.43%. Comparing base (645c20f) to head (81bc11a). Report is 22 commits behind head on 1.x.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 1.x #223 +/- ## ========================================== - Coverage 45.38% 41.43% -3.96% ========================================== Files 1 1 Lines 271 251 -20 ========================================== - Hits 123 104 -19 + Misses 148 147 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 3 months ago

This PR will trigger a minor release when merged.

trieloff commented 3 months ago

226 will be helpful once you need to test this.