Dynamic text - based on value in url?

MattShaw1974_ Member Posts: 2
edited August 2023 in Ask a Question

Hi all,

First site with Duda - impressed so far vs UnBounce that I've used before!

What i'd like to do is pull a sub-string from the page url, and use that as a dynamix text string in the page content.

For example, lets say the H1 text is "Hello lovely people in <town>!"
The url would be something like "www.cheese.com/london".

The dynamic text would pick "london" up from the url, and insert that into the H1 <town> var, to give "Hello lovely people in London!".

What I'm ultimately trying to do is create a number of local landing pages, based on a template, where localisation vars (location name) can be generated from the published url…