Monetize your Klaviyo email lists with newsletter ads
MailAdx works with Klaviyo's custom HTML blocks and the {{ person|md5_hash }} or SHA-256 property. Add open-time ad revenue to your Klaviyo campaigns and flows.
Why add MailAdx to Klaviyo?
How to integrate MailAdx with Klaviyo
- 1
Set up your MailAdx publisher account
Create a free account at mailadx.com/signup. After approval, access the Publisher Portal to create your ad placements.
- 2
Create an ad unit and copy the tag
In Publisher Portal → Ad Units, create a placement with your preferred format and floor CPM. Copy the HTML ad tag.
- 3
Add an email hash property to Klaviyo profiles
Klaviyo doesn't expose a native SHA-256 email hash merge tag by default. You'll need to add a computed property or use Klaviyo's built-in {{ person.id }} or pass the email hash as a profile attribute via Klaviyo's API. Alternatively, the integration can use Klaviyo's email variable and hash it via a template filter.
- 4
Insert the ad tag via HTML block
In your Klaviyo template editor, add an HTML component. Paste the MailAdx ad tag, substituting the email hash variable with your Klaviyo property syntax.
- 5
Test with a preview send
Send a preview to yourself. Open the email and confirm the ad loads. Check the Publisher Portal for the test impression.
<!-- MailAdx ad tag — decision runs at open time -->
<a href="https://mailadx.com/api/v1/serving/click?pub=YOUR_PUB&pk=header&eh={{EMAIL_SHA256}}"
target="_blank">
<img src="https://mailadx.com/api/v1/serving/display?pub=YOUR_PUB&pk=header&eh={{EMAIL_SHA256}}&w=600&h=100"
width="600" height="100" alt="" />
</a>
<!-- Replace {{EMAIL_SHA256}} with your ESP's email hash merge tag -->Klaviyo + MailAdx: common questions
Does Klaviyo support SHA-256 email hashing natively?
Klaviyo doesn't have a native SHA-256 merge tag in all plan tiers. The common workaround is to store the pre-computed SHA-256 hash as a custom profile property and reference it in your templates. Contact MailAdx support for the recommended setup for your Klaviyo plan.
Related resources
Ready to monetize your Klaviyo newsletter?
Free to start. No revenue share. Direct advertiser relationships from day one.