Install the base code

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

Learn more

The base code is the foundation of the Pinterest tag. It needs to be added to every page of your website. in order for event codes to function and to build audience data from all the traffic on your site.

Add the Pinterest tag to your website


  1. Log in to your Pinterest business account and open Ads manager.
  2. Generate your Pinterest tag
  3. When you generate your tag, we'll provide the base code for you. Click Copy code to copy the base code to your clipboard.
    • Want to use enhanced match? Replace <user_email_address> in the base code with your specific information. If not, don't make any changes to the base code.
  4. Paste the base code in the global header of your website between the <head> and </head> tags so that it fires on every page.

What is enhanced match?

You can add enhanced match to see more conversions by tracking website actions when there's no Pinterest cookie present. Enhanced match sends back secure, hashed email addresses with your conversions.

What's the next step?

Add your event codes

Still need help?
Contact us