Skip to main content

I would like to build a chart that shows page views for a specific pattern of URLs. The pattern is:

 

/organizations/*/analytics/*

 

I have tried using the “page view” event and adding a “where” filter on the “url” property, adding a  Glob operation with the above pattern, but it does not work - zero results are shown.

 

 

Thanks for posting here @daemmon. Were you able to confirm the format? There are specific requirements for glob match. For example, ebrackets] should only be used to match one character/number.

More information on glob match syntax can be found here:
https://en.wikipedia.org/wiki/Glob_(programming)#Syntax

Hope this information helps! Let me know if you have any questions!


Thanks for replying @Jeremie Gluckman. I did see that reference page, but only looked at the examples and did not deep dive on it.

Reading more closely, I found this:

  • * is a wildcard standing for "any string of characters except /"

So the issue is that because the particular property that I am working with (`url`) contains “/” characters, the Glob operator works differently than it would otherwise. Changing my pattern to this works: 

**/organizations/*/analytics/**


Reply