Most businesses ask for their subscribers’ first names so they can personally greet them in emails. If you already have this data, why not use it on your landing pages, too?
Imagine greeting your customers by name as they land on your website: their hearts might just skip a beat when they see a personalized headline like, “Hey Ryan, we've been expecting you!” This will create an emotional connection with your customers.
Don't leave money on the table by sticking to generic landing pages. Use the data you already have and personalize your pages to create an unforgettable experience for your customers. You'll see incredible results when it comes to your conversion rates and ROI.
Step 1: Use UTM parameters in your emails
Add UTM parameters to your URLs. In this example, the first name will be needed of the visitor, so this is how our URL will look like: https://varnishandvine.com/?utm_firstname=John
Step 2: Write a custom JS
In this example, we would like to add the first name of the visitor to the headline of the homepage (plus we would also like to change the copy slightly):
This is what the code looks like:
`var urlParams = new URLSearchParams(window.location.search); var param1 = urlParams.get('utm_firstname');
var ls = JSON.parse(localStorage.getItem('OptiMonkVisitorAttributes')); ls.utm_firstname = param1; localStorage.setItem('OptiMonkVisitorAttributes', JSON.stringify(ls));`
We will retrieve the first name from the URL where we have just added the campaign parameters plus using the following variable:
The retrieved data will be injected to local storage (OptiMonkVisitorAttributes) as utm_firstname.
Step 3: Use Dynamic Content + Smart Tags
You will need to define which part you would like to replace in your original text. Dynamic Content is needed to modify the text on your page, while smart tags will be responsible for handling the change in the background.
Firstly, create a new Dynamic Content campaign.
Then add the First Name Smart Tag to your headline.
Step 4: Target your campaign
Target those users where Visited URL contains utm_firstname.
Step 5: Activate your campaign
This is how it will look like: