This PR introduces a mechanism for ignoring URL parameters when parsing UTM tags and referrer source for dogfooded events coming from Plausible itself. Without it, any session initiating request with URL containing one of the accepted filter params, like source or utm_source will accidentally record this filter parameter as respective session property as well.
Tests
[x] Automated tests have been added
Changelog
[x] This PR does not make a user-facing change
Documentation
[x] This change does not need a documentation update
Changes
This PR introduces a mechanism for ignoring URL parameters when parsing UTM tags and referrer source for dogfooded events coming from Plausible itself. Without it, any session initiating request with URL containing one of the accepted filter params, like
source
orutm_source
will accidentally record this filter parameter as respective session property as well.Tests
Changelog
Documentation
Dark mode