Mixpanel Community Icon

Querying Dynamic URL Paths in Mixpanel for Event Filtering

·
·

Hello everybody! 🙂 In Datadog, you're able to write a query that lets you filter on wildcards as follows: @view.url_path_group:/app/?/projects I was wondering if Mixpanel had the same capabilities? I need to filter my "Visit Page" event to only show the projects page where the URL has a dynamic :id in it; /app/1/projects, /app/2/projects, /app/.../projects, and I'm not sure how to achieve this. I don't want to rely on a static property.

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    You can you can create a custom property and use rejects functions to create what you want

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    It will dynamically create the property based on your existing property.

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    You have to think about how you want red jacks too segregate your data, but then can use that custom property in your filter to achieve what you’re looking for

  • Avatar of Nicholas V.
    Nicholas V.
    ·
    ·

    Thanks for the reply Andrew S.! That's less than ideal, but could work!

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    Btw, I was driving and Siri butchered that. Should have said Regex not red jacks