Skip to content

Conversation

@Dan0sz
Copy link
Collaborator

@Dan0sz Dan0sz commented Dec 8, 2025

This PR addresses #160 and adds a Query Parameters option to Enhanced Measurements, which allows users to define which query parameters (e.g. ?lang=en) they'd like to track. Enabling the option displays a form in which the field is clonable, to allow for entering multiple values.

afbeelding

Provisioning automatically creates the goal WP Query Parameters upon enabling the option. A custom property is created for each entered query parameter when hitting Save.

The tracking code is only rendered when the query parameters are present in the URL.

@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dan0sz Dan0sz merged commit 60ff0d9 into develop Dec 8, 2025
6 checks passed
@Dan0sz Dan0sz deleted the track_query_params branch December 8, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants