Skip to content
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

Possibility to use wildcards in urls in segment editor #4026

Closed
hpvd opened this issue Jul 1, 2013 · 6 comments
Closed

Possibility to use wildcards in urls in segment editor #4026

hpvd opened this issue Jul 1, 2013 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@hpvd
Copy link

hpvd commented Jul 1, 2013

Maybe I only could not figure out how to...

but using a wild card in segment editor ->actions/url would be very handy

  1. wildcard at the end of an url
    would make it possible to track/filter all pages "below" one url segment
    e.g. show in a shop all products and all subcategories and their products
    www.theshop.com/cakes/WILDCARD

  2. wild card in front of an url
    would make it possible to use url segments on different websites
    (with similar site structure)
    e.g. to show all customers who logged in in the customer backend
    WILDCARD/customer/WILDCARD
    for
    www.theshop.de/customer/
    www.theshop.com/customer/
    Keywords: url, segment editor

@hpvd
Copy link
Author

hpvd commented Jul 1, 2013

of course the possibility to use wildcards would be handy for several other segment types...

@mattab
Copy link
Member

mattab commented Jul 1, 2013

You can use the "CONTAINS" clause to have a similar functionnality

@dmitrizzle
Copy link

Hello,

Wondering if wildcards got any go since 2014. Basically, I'm looking to include in the segment URLs which are in the form of www.example.com/* but not www.example.com/ - meaning all the subdirectories and files but not the root.

@mattab
Copy link
Member

mattab commented Sep 8, 2015

Maybe you can use "CONTAINS" XYZ/ AND "IS NOT" XYZ

@dmitrizzle
Copy link

That's still not possible where the website adds trailing slashes by default:
All URLs will redirect from website.com/url to website.com/url/
And all canonicals are set to website.com/url/

The only way to achieve that at the moment as far as I can understand is to use "CONTAINS" for all letters of alphabet and numbers :(

@mattab
Copy link
Member

mattab commented Sep 30, 2015

@dmitrizzle if there is a common need that is difficult to do with "Contains / does not contain", a new feature could be added. Do you mind creating a new issue, with what you are trying to achieve and how the current Segment editor is not working well?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants