Skip to main content

Klaviyo: Ad Network Placement

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

Ready to get your Paved ad network placement live in your Klaviyo newsletter? In this guide, we’re going to share with 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.

Merge tags for this ESP

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

  • Email ID: {{ email }}

  • Campaign ID: {% current_day %}{% current_month_name %}{% current_year %}

How to install the header code

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

  1. In Klaviyo, go to Content > Templates and click Import.

  2. Enter a template name, upload your HTML file or paste your HTML, and click Import Template.

  3. Open the imported template to access the HTML editor.

  4. Locate the </head> closing tag.

  5. Paste your Paved header code directly above the </head> tag.

  6. Save the template.

How to install the ad unit code

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

  2. In the Klaviyo HTML template editor, locate the position in the email body where the ad should appear.

  3. Paste the ad unit code at that location.

  4. Save the template.

If using the drag-and-drop editor instead, drag an HTML block from the content sidebar into the canvas at the desired position and paste the ad unit code into it.

Adding the ad to a reusable template

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

  1. Save your Paved ad unit code within your standard HTML template.

  2. Use this template when creating new campaigns or flows.

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?