Add your event codes

It looks as though you're viewing this from a region where Pinterest Tag isn't available yet. See where Pinterest Tag is available to Pinterest Business accounts.

Learn more

Event codes let you measure the impact your Pinterest ads have on certain on-site actions. They are also necessary to launch campaigns that will automatically optimise towards specific events. 

Before you begin: you need to have the base code installed before you can add your event codes. Make sure your event codes run after your base code.

Copy event code in Ads Manager

  1. Open Ads Manager.
  2. From the Ads drop-down, select Conversions.
  3. Select your tag.
  4. Copy the code for the event you wish to track.
     

Add event code to your website

To track events, you need to add an HTML snippet to your website's code.

  1. Open the code for the page you want to track an event on.
  2. Paste the event code:
    • Page load events fire whenever the page is loaded: paste in the header before the base code.
    • User action events fire when triggered by an action: the exact steps to implement depend on your use case and the events you're tracking.

These are the events you can track with the Pinterest Tag, and whether they include audience creation and conversion reporting. 

Event

Audience creation

Conversion reporting

Checkout

AddToCart

PageVisit

Signup

WatchVideo

Lead

Search

ViewCategory

Custom*

[User-defined event]**

 

*Track a custom event. Use this event name to track a special event you want to include in your conversion reporting
**Add any additional event you’ve defined for the purpose of audience targeting. Unique events aren’t available for conversion reporting. Bear in mind that whitespace will be trimmed from raw event names passed through the tag

 

What's the next step?

Check everything's working correctly: how to verify the Pinterest Tag

Still need help?
Contact us