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
List of user agents to exclude could support regular expressions #14186
Comments
Note: Regular expressions are currently not supported for useragents. See matomo/core/Tracker/VisitExcluded.php Lines 342 to 356 in 7b6a146
|
Thanks for your reply @sgiehl. Is there any plan to add regular expression matching for "list of user agents to exclude" in the future, or should I assume that we (Ubiquity Press) will need to implement this feature ourselves? |
@simoncrowe the issue is currently not planned within the next releases. If you would contribute the changes needed for that in a PR we would be happy to review and merge that. |
) * Add regular expression support to list of user agents to exclude - Added regex support to Administration -> Websites -> Settings -> Global list of user agents to exclude - Made sure old tests that use stripos() pass - Added new tests - Added a sentence to the inline help area about regex support - Fixed a typo elsewhere as specified in the original issue. Closes #14186. Updated method and tests following code review Update plugins/WebsiteMeasurable/MeasurableSettings.php Co-authored-by: Stefan Giehl <stefan@matomo.org> Update system tests * Update screenshots for UI tests affected by the copy changes
Currently it is not clear whether we support regular expressions for the setting "List of user agents to exclude".
In the list of IP addresses it says
Regular expressions such as /^sess.*|.*[dD]ate$/ are suported.
Suggested:
Regular expressions such as /^Good-example-of-regex-here$/ are supported.
suported
tosupported
in the existing message (typo)The text was updated successfully, but these errors were encountered: