Personalised images in ActiveCampaign
Use OKZest with ActiveCampaign to show each contact an image with their own details, such as their first name or company. ActiveCampaign replaces its personalization tags for each contact when it sends, and OKZest builds the image from those details.
You need: an OKZest account with a saved design that has at least one dynamic text layer, and an ActiveCampaign campaign with contacts who have the details you want to show.
1. Find the tag in ActiveCampaign
ActiveCampaign calls its merge tags personalization tags. Tags are written between percent signs in capitals, for example %FIRSTNAME%. Rather than typing a tag from memory, let ActiveCampaign insert it so you get the exact text for your account:
- Open your campaign and the email you are editing.
- Select a text block, then choose the Personalization Tags option (in the HTML editor the option is called Personalize Message).
- Pick the contact field, such as first name. ActiveCampaign inserts the tag. Copy it.
Source: ActiveCampaign: How to insert personalization tags into your campaign.
Custom contact fields have their own tags, which you can copy the same way.
2. Use the tag in your design
- Open your design in OKZest and select the dynamic text layer.
- In Text settings, enter a short ID, such as
first_name. - In Merge tag, enter the tag you copied, for example
%FIRSTNAME%. - Enter Default text, such as
there, then save the design.
See Merge tags for the full list of formats, and the email quickstart if you have not made a design yet.
3. Copy the image code from OKZest
- In OKZest, select Share.
- Under Embed your image, select Copy <img>.
- If a yellow Some merge tags are missing box appears, type your tag into it and select Save changes, then copy the code again.
The image address looks like this, where first_name is your layer ID:
https://media.okzest.com/img?c=YOUR_COMPANY_ID&i=YOUR_DESIGN_ID&first_name=%FIRSTNAME%
4. Paste it into an HTML block
- In ActiveCampaign, edit your email in the campaign builder.
- Add an HTML block to the email where the image should go.
- Paste the code you copied from OKZest into the block and save.
Other vendors that supply personalised images describe the same HTML block approach for ActiveCampaign, for example Hyperise.
5. Send a test
- Send a test email to a contact record that has a first name.
- Open it and check the image shows that name. If the contact has no first name, you see your default text.
Always check with a real test send. The preview in an email builder does not always run the same replacement as a live send.
If it does not work
- The image shows the default text for everyone. The tag may be mistyped or the contact may have no value for it. Compare the tag in OKZest with the one ActiveCampaign inserted.
- A broken image appears. Paste the image address into a browser, replacing the tag with a real name such as
first_name=Sam. If it loads, the design is fine and the problem is how the code was pasted. See the troubleshooting page. - Tags show as text. Some tags are replaced by number-based forms when used inside links. Try the tag that ActiveCampaign inserts for you in the HTML block.
What next
- Merge tags: formats for other platforms and layer types.
- Quickstart: email image.
- Troubleshooting.