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.
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.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.mydomain.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.mydomain.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.