New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Regex in Goals #21164
Comments
Yeah, I can see how that would happen as |
Mildly related to #20875 where the validation would also help see this issue. |
@Birkaransingh94 can you see if Stefan's suggestion to switch the goals api to using unsanitised parameters helps? |
@michalkleiner This is something we would need to do in the code |
Ah right, I thought that was already an existing option. Apologies for the confusion. |
Is someone working on this? As Matomo does not support Goal Tracking for past events, saving/creating an goal with .+ in the regex will lose valuable information. |
Not that I'm aware of at the moment, @ampaze. If you're keen to provide a PR we'll definitely look at it, otherwise it'll be up to the product team to prioritise the work on this. |
Hi Team,
There's an issue when a page visits goal has been setup with regex:
For E.g:
Correct Regex is:
https://example.example.co.uk/checkout/ABCD[0-9]+/$
However, when saving it in goals, it removes "+" from the regex and saves it as:
https://example.example.co.uk/checkout/ABCD[0-9] /$
Thanks.
The text was updated successfully, but these errors were encountered: