This page explains how to add contacts who click on different links in your email templates (clickers) to different static segments.
E.g. You might want to add contacts who click on a particular box to a particular segment.
To do this, include links or CTAs in your template that add clickers to a specific segment.
E.g. "20% off jeans" and "20% off dresses".
You'll be able to track the number of contacts entering each segment and choose the winning segment.
Follow the steps below to create a link that:
- adds the contact to the defined static segment, and/or;
- redirects them to their preferences centre or another URL when clicked.
This is a useful way to Send polls and surveys using Ometria
Adding clickers to segments
Create two static segments in the Saved segments dashboard and note down their segment IDs:
Use the link format:
https://api.ometria.com/trk/segment?acc={{email.account_hash}}&profile={{profile.hash}}&segment=X
X is the segment ID for your chosen segment.
You can use this link however you like, e.g. as a CTA button, linked images, or hyperlinked text in your email copy.
Redirecting contacts after clicking
If you want to direct the contact to a specific URL after clicking link in your email, add &url=https://www.[your website].com/ after the segment ID.
For example:
https://api.ometria.com/trk/segment?acc={{email.account_hash}}&profile={{profile.hash}}&segment=5113&url=https://www.ometria.com/
Clicking on this link adds the contact to segment 5113 and redirects them to the URL you entered - ideally, this would be the preferences centre page created by your development team.
If you want a link to redirect to a specific preference centre page, append &followon_page=<page>
E.g.:
https://api.ometria.com/trk/segment?acc={{email.account_hash}}&profile={{profile.hash}}&segment=56&followon_page=thanks
Adding tracking parameters
If you want to add tracking parameters to your link, you must to use the encoded_url
parameter and make sure the URL you use is URL encoded, using a site such as: https://www.urlencoder.org/
This is to make sure that the tracking parameters don't get stripped from the URL when the contact is redirected.
E.g. https://api.ometria.com/trk/segment?acc={{email.account_hash}}&profile={{profile.hash}}&segment=X&encoded_url=https%3A%2F%2Fwww.mysite.com%2Fcollections%2F
Testing
You can test whether the 'add to segment' link is working by sending a live email to yourself.
As special links are dynamic content, the information only populates in live emails, not in test sends.
Comments
0 comments
Article is closed for comments.