Skip to main content

Hi,

In the Amplitude chart builder it is possible to filter by page URL, but this page URL does not include query string parameters. For example if the page URL equals:

https://www.website.com/slug_1/slug_2?parameter_1=yes

I can filter the URL by `slug_1` and `slug_2` but I cannot filter by `parameter=yes`

Is there a way that I can access query string parameters within Amplitude visualisations?

 

Will

Hi Will,

Thank you for reaching out!
This is Liping Yin from Amplitude Technical Support Team. I am happy to help!

Yes you can use global match to get the URL, for example this chart matches url that contains parameter `cv=1737467032710` https://app.amplitude.com/analytics/numan/chart/new/gwqwzp1h?source=copy+url.

For more detailed instructions, you can refer to the Amplitude documentation on glob match with wildcards: https://help.amplitude.com/hc/en-us/articles/360051775171-Build-charts-in-Amplitude-Add-events-and-user-segments#modify-a-segment

**Please note:**

> If your URL contains `/` characters that you want to include in the match, use `**`. For example, to match URLs ending with `/events/`, you would use `**/events/`. More information on glob matching can be found here.


I hope this helps! Please let me know if you have any other questions!

Best regards,
Liping Yin | Technical Support Engineer
Amplitude


P.S. Checkout upcoming events and user meetups on our events page.

Thanks Liping, but that doesn’t really solve my question. I want to filter Page Viewed and the Link URL property you mention above is only a default property of the File Downloaded event.

If I use glob match on the Page URL property of the Page Viewed event, it comes up with nothing:

https://app.amplitude.com/analytics/numan/chart/new/6jiuaj1w

 

 


Reply