Skip to main content

Beehiiv: Ad Network Installation

Learn how to set up the Paved ad network placement in your Beehiiv email newsletter.

Ready to get your Paved ad network placement live in your Beehiiv email newsletter? In this guide, we’re going to show you the step-by-step instructions to get you there.

Before you start

  • Make sure you know how to set up the ad network. Read the Getting Started guide.

  • Navigate to the "Ad Unit Codes" step of the setup wizard in your Paved account to retrieve your header code and ad unit code.

  • The HTML Snippet feature in Beehiiv is available on paid plans only. Also note that Beehiiv strips <style> and <script> tags from HTML Snippets - all CSS must be inline. You can implement it in the same block as your HTML snippet vs. the header.

Merge tags for this ESP

Paved will automatically insert the correct merge tags when you select Beehiiv from the ESP list in your account. For reference, the tags used are:

  • Email ID: {{subscriber_email_hash}}

  • Campaign ID: {{current_date_ymd}}

How to install the header code

In your Paved account, copy the provided header code for your ad placement.

  1. In your Beehiiv post editor, click into the body where you want to place the ad.

  2. Type / to open the block menu.

  3. Under Premium, select HTML Snippet.

  4. Paste your Paved header code into the HTML Snippet box.

  5. Click Preview to verify the snippet saved correctly.

How to install the ad unit code

  1. In your Paved account, click Copy Code to copy the ad unit code.

  2. In the post editor, click where you want the ad to appear, type / and select HTML Snippet again.

  3. Paste the ad unit code into this new HTML Snippet block.

Adding the ad to a reusable template

To avoid re-inserting the ad code with every send:

  1. Go to Settings > Design Lab in Beehiiv.

  2. Build or edit your email template to include a dedicated section for your Paved ad.

  3. Add the HTML Snippet block with your ad unit code in that section.

  4. Save the template. Each new post using this template will have the ad code pre-populated.

Testing your ad placement

Use your ESP's preview to check the visual layout before sending.

⚠ Do not send a test email. Do not use test sends to verify your Paved ad. Test emails often strip or fail to populate merge tags, which will cause a broken ad request. Instead, send a real email to:

  • The Paved draft email address provided in your Paved account

  • Yourself and/or your team

  • Your Paved account manager (if applicable)

Next steps

Head back to your Paved account to finish the setup process. Learn more in Ad Network: Getting Started.

Did this answer your question?