Tracking request may trigger a warning when providing an invalid regex #16153
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Custom Dimensions
For issues related to the Custom Dimensions plugin.
Milestone
For example to reproduce create dimension in action scope using below regex:
[{"dimension":"url","pattern":"/abcdefghijkl(*)/"}]
See https://3v4l.org/8ENBl trigggers a warning in the logs:
Ideally, in all plugins where it is possible to define a regex, we validate that the regex is at "valid". For example Goals etc. This will increase the correctness of the tracked data.
If the regex is not valid, then an error should be shown.
The text was updated successfully, but these errors were encountered: