Skip to main content

Klaviyo: Ad Network Placement

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

Updated over 2 years ago

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⚠️

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

  • Next, navigate to the "Code" step of the setup wizard:

Document image

How to set up targeted ads in your newsletter template

So that your placement can be easily included in future newsletters, we recommend that you put ad placement HTML in your email template rather than in a one-off email.

How to configure your ad parameters

There are two parameters required to deliver an ad: a subscriber’s email and a campaign ID to uniquely identify the newsletter sent.

We don’t store the subscriber’s email address but we do store the campaign ID to track your earnings.

Select Klaviyo from the list of ESPs and Paved will automatically insert the appropriate merge tags in the code.

How to put the ad CSS code in the header

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

Document image

On the Klaviyo home screen, click Content > Templates.

Document image

Create a new HTML template or choose the HTML template you'd like to work with.

Click the three dots icon and select Edit Template.

Document image

Paste your code just above the </head> tag in the HTML editor. It should look something like what you see below:

Document image

After you're done, click Save.

Where to install the ad placement HTML code

The code below is for the ad placement. It must be pasted exactly in the right location within the same code editor used before.

Paved includes some existing code from your ad template to help you locate the correct location as shown below.

Document image

In your Paved account, click the Copy Code button to copy the ad placement HTML code.

Document image

On the Klaviyo home screen, click on Content>Templates.

Click the three dots icon next to the template you want to work with and select Edit Template.

Then paste your code in the section indicated in the example provided in your Paved account. It should look something like what you see below.

Document image

After you're done, click Save.

Testing your ad placement

Go back into your template and click Preview Email:

Document image

Type in your email address and click Preview Now:

Document image

Be sure to review the test email sent to your inbox to ensure formatting and ad placement look correct.

If you ever need to remove code from a send, simply delete the main ad placement code. It's not necessary to remove the header code.

Next Steps

Whenever you're ready, head back to your Paved account to finish the ad's setup process. Learn more in Ad Network: Getting Started

Did this answer your question?