Using Dynamic Content to pull URL parameter only

Hello, is there a way I can reference the URL parameter within a Heading using dynamic content?

Here’s my example:
We have an inventory page with our billboard locations. When someone clicks a specific billboard location (let’s say X123W) a lightbox pops up with a “Request Quote” button. That request quote button forwards to a page like this: mybillboardsite.com/inventory-request-quote/?X123W.

I’d like to personalize that page by using the URL parameter within a headline such as “Request Quote for X123W”

Is this possible?

Hey @whistlermedia,

Thanks for writing in!

If you URL is something like: mybillboardsite.com/inventory-request-quote/?p=X123W, you can use {{dc:url:param key="p"}} dynamic content to display.

Best Regards.

I tried this, but the final URL is /?X123W, not /?p=X123W, so trying it the way you proposed doesn’t show anything on the front end unfortunately.

Hey @whistlermedia,

A URL parameter needs a key and a value. You might want to check this out:

Please be aware that what you are trying to do is beyond the scope of the theme features and functionalities. You may need to consult 3rd party developers who are more familiar with URLs and HTTP requests to accomplish what you have in mind.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.