๐ŸงกESP Integration

Add newsletter ad revenue to HubSpot marketing emails

HubSpot Marketing Hub supports custom HTML modules in email templates. Integrate MailAdx via a personalized token for the subscriber email hash and an open-time ad image URL.

Why add MailAdx to HubSpot?

Open-time ad serving โ€” impressions count only on genuine opens
No revenue share โ€” flat per-impression fee, you keep the rest
Direct-sold + programmatic demand in a single waterfall
Custom price floors per ad placement
Real-time delivery dashboard and per-send reporting
Native ads (composite PNG) and standard banner formats

How to integrate MailAdx with HubSpot

  1. 1

    Create your MailAdx publisher account

    Sign up and configure ad placements with floor CPMs in the Publisher Portal.

  2. 2

    Create a custom coded email template module in HubSpot

    In HubSpot's email editor, add a custom HTML module. HubSpot uses HubL personalization tokens for contact properties.

  3. 3

    Set up the email hash contact property

    Create a custom contact property for the SHA-256 email hash. Populate it via HubSpot workflows or API when contacts are created or updated.

  4. 4

    Paste the MailAdx ad tag with the HubL token

    Reference your custom property in the ad tag URL (e.g., {{ contact.email_hash }}). Paste the complete tag into your HTML module.

  5. 5

    Test and go live

    Send a test email, verify the ad loads on open, and activate for production sends.

email-template.html
<!-- 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 -->

HubSpot + MailAdx: common questions

Does MailAdx work with HubSpot workflows?

Yes. Any HubSpot marketing email template can include the MailAdx ad tag. Automated workflow emails trigger the same open-time ad decision as manual campaigns.

What HubSpot plan do I need?

You need Marketing Hub with email sending and the ability to add custom HTML modules. Most Professional and Enterprise plans support this.

Ready to monetize your HubSpot newsletter?

Free to start. No revenue share. Direct advertiser relationships from day one.

No credit card required
Setup in 30 minutes
Dedicated onboarding