This page explains how to add contacts who click on different links in your email templates to different static segments.
E.g. You might want to add contacts who click on a particular box to a particular list.
To do this, you need to set up two buttons, each with a link that adds clickers to a specific segment.
E.g. 30% off jeans and 30% off dresses.
This means you can track the number of contacts entering each segment and choose the winning segment.
Follow the steps below to create a dynamic button that:
- adds the contact to the defined static segment, and/or;
- redirects them to their preferences centre or another URL when clicked.
Adding clickers to segments
Create two static segments in the Saved segments dashboard and note down their segment IDs:
Go to your template and create two call to action (CTA) buttons in the Visual editor.
Add links to each of your buttons using the link format:
X is the segment ID for your chosen segment.
Adding tracking parameters
This is to make sure that the tracking parameters don't get stripped from the URL when the contact is redirected.
You can test whether the 'add to segment' link is working by sending a live test to yourself.
Be aware that testing previews does not work in this case, as the profile hash doesn't populate.