Add Pinterest Conversion Tag

Are you wanting to add your Pinterest Conversion Tag in your popup? It’s easy with our Success Triggered Scripts feature! Follow this guide to learn how to automatically trigger your Pinterest Conversion Tag upon submission of your OptinMonster campaigns.

IMPORTANT: Please be aware of Pinterest’s legal requirements and policies concerning use of their conversion tag.

Why Use the Pinterest Conversion Tag?

A prime example of when to use the Pinterest Conversion Tag with your campaigns is when you display a campaign only if the visitor is referred from Pinterest. When that visitor successfully submits the campaign, the Pinterest Conversion Tag is fired.

In this guide, we’ll walk you through what you need to know to add your conversion tag from Pinterest using the Success Triggered Scripts field in the campaign Builder.

IMPORTANT: If you’re using a Custom HTML integration or Canvas you must be certain to add the om-trigger-conversion class to the submit button field so OptinMonster knows when to fire the scripts inside the Success Triggered Scripts field. Learn more about using this class with the Custom HTML integration or Canvas.

How to Add the Pinterest Conversion Tag

The following steps will walk you through adding the Pinterest Conversion tag to your campaign.

Step 1 – Create Conversion Tag

Login to your Pinterest Ads Manager account, then navigate to the Ads » Conversion tracking » Create Tag.

Click Create Tag to create your Pinterest Conversion Tag.

Name your tag and click Generate Code.

Name your Conversion Tag and click Generate Code.

Step 2 – Copy and Paste Conversion Tag

Copy the Pinterest tag code and paste it within the <head> </head> tags of the page or website or you want to track. Note the text in red. It is your TAG ID, and will be used in the next step.

Add the Pinterest tag code to the head of your page.

Step 3 – Copy and Paste Action Code to Campaign

To get the benefits of conversion tracking, you’ll need to add one of the Pinterest action codes to the Success Triggered Scripts field of the campaign you are tracking.

Add the Pinterest action code to the Success Triggered Scripts area of your optin.

There are several types of Pinterest event actions you can track.

Add the Pinterest action code to the Success Triggered Scripts area of your optin.

For this example, we are going to use the Page Visit event.

pintrk('track', 'pagevisit');

If you’d like to use one of the other action codes, please be sure to view the example script for that code in the Pinterest help documentation. The final action code for other action events will be different from the Page Visit example in this tutorial.

IMPORTANT: Don’t forget to replace your Tag ID with the actual tag ID from your conversion tag at https://ads.pinterest.com/conversion_tags/.

Below is an example of the full script you would add to the Success Triggered Scripts area of your campaign.

<script>pintrk('track', 'pagevisit');	 	 
</script>
<noscript>	 	 
<img height="1" width="1" style="display:none;"	 	 
alt=""src="https://ct.pinterest.com/v3/?tid=YOURTAGID&amp;event=pagevisit&amp;noscript=1"/>
</noscript>

Paste the script of the action code you’d like to use in the Success Triggered Scripts area of your campaign.

Step 4 – Save Campaign

Finally, Save the campaign. You’ve successfully added the Pinterest Conversion Tag to your campaign!

It may take up to 24 hours for your Conversion Tag to be verified.
IMPORTANT: If you use the same event code on multiple campaigns, your Pinterest conversion report will show the sum of all those conversions. If you’re interested in setting up specific events for individual campaigns, you can learn how in Pinterest’s full implementation guide.

Interested in creating more targeted campaigns for your visitors? See our guide on how to use OptinMonster’s Referral Detection for advanced lead targeting.


FAQs

Q: Does it matter what Success Action I have configured for my campaign?

A: No. Regardless of the Success Action configured for your campaign (e.g. close campaign, redirect to another URL, etc.), the Conversion Tag will be fired each time the campaign is successfully submitted.


A: Yes! Please refer to Pinterest’s official guides for the most accurate legal information regarding the use of the Conversion Pixel on your website and within your campaigns: