Need Help with URL tag
I have a URL that I don't think I will be able to tag. I'm hoping for any tips anyone might have.
<domain>/report/20?reportId=63&reportName=Control%20Hub%20Usage
The "20" after the /report/ changes based on the customer viewing the page so i need to ignore that. A wildcard won't work as I understand them as it will remove everything after the / and those other parameters define which report is being displayed. Does anyone have any ideas on how i might make this work?
0
Comments
So, you might actually be in a fine state. The "?" character in the URL indicates the start of a series of "Query Parameters" in the URL that are separate from the path elements. So the following rule should work for your URL:
This will accept the provided example, but a few other variations as well with relation to the query parameters 'reportId' and 'reportName'. If you want to specify that there will always be a 'reportId' or 'reportName' value within the URL, or even specify the values of these parameters, then you could do so with some variation like the following:
If you'd like further detail on this, you can review our help documentation here. It can also be helpful to make use of our 'Test Rule functionality within your Page Tags in the Pendo UI.
Please sign in to leave a comment.