URL parameters are tags that are added to the end of your URL, usually for tracking purposes or for dynamic content insertion.
The most known type of URL parameters is UTM parameters, used by Google and Facebook ad links, in order to find out more about how your visitors interact with your ad.
NOTE: UTM parameters are case sensitive, so it is important to note that [UTM_Source] and [utm_source] are not the same. Check the format that you are using in your URLs and configure the dynamic text replacement on the page accordingly.
With our Dynamic Text Replacement feature, you can use the information from the URL parameters on your landing page. You just have to type the exact same thing as in the URL, between square braces, and that’s it.
Use case 1 - using URL parameters in the copy of your landing page
You can do this if you want to use URL parameters on your page to dynamically display things like location or someone’s name if you already have that information.
Make sure the page’s URL includes the parameters you want to use, such as https://mylandingpage.your-domain.com/?location=cityname&name=firstname
Then you can write the copy of any text element on the page to include those parameters, such as “Welcome [name] from [location]!”
Use case 2 - using URL parameters in a hidden field
Let's say the URL of your page is www.your-domain.com?utm_source=google
You can use [utm_source] in a hidden field on your form in order to see if the visit was triggered by an ad shown on Google. Here’s how the form from your page will look:
You can also check out the dedicated article for this particular use case of dynamic text replacement here.
Use case 3 - dynamically pass existing URL parameters through a redirect
You can use this if you want to send URL parameters with which the user arrives on your landing page to an external link that the user is sent to by clicking a button on your page.
Create a button by selecting the Button element from the left sidebar:
Click it, then select Edit:
Choose Click event and select Outside URL from the drop-down:
Let’s say the URL of your landing page is www.your-domain.com?original_parameter=dynamicvalue
Enter the link you want the button to redirect to, including the parameter in your page’s URL, as follows: https://link.com/?new_parameter=[original_parameter]
When clicked, it will direct the user to https://link.com/?new_parameter=dynamicvalue since you gave "original_parameter" that value originally and then you gave "new_parameter" the value of "original_parameter".
Of course, you can replace the name of the parameter with anything you wish, such as “source”, “location”, etc. and even have multiple such parameters in the same URL.
Note: You can use the same method to make an image, a shape or a text element redirect to an external link with existing dynamic parameters.
Tip: you can create personalized Thank You pages by using dynamic text replacement in conjunction with this guide implemented on your main landing page.
If you are using a single landing page with DTR, if the visitor does not have the parameters in the URL, the text shown will be the exact same one you typed in. To solve that and have a regular block of text, without a placeholder, you can use our Personalization product. The default experience is the one shown without parameters, and you can have the default text on it without any dynamic text replacement placeholder. Since the custom experiences must have different parameters, you can use dynamic text replacement only on those. This will provide a more natural experience for your visitors who will land on the page without parameters, intentionally or accidentally. Note that Personalization is available exclusively to our Enterprise subscribers. Click here to get in touch with our team if you would like to upgrade your subscription.