Open Birkaransingh94 opened 1 year ago
Yeah, I can see how that would happen as +
is a space in the URL format.
Mildly related to #20875 where the validation would also help see this issue.
This looks like another problem related to https://github.com/matomo-org/matomo/issues/4231, but might already be possible to solve that by switching the goals api to use unsanitized parameters. See https://github.com/matomo-org/matomo/pull/19624
@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.