Pinterest Tag

When you install the Pinterest sales channel, you automatically get access to the engagement data provided by Pinterest Tag. With Pinterest Tag, you can track and view engagement data.


Install the Pinterest sales channel to get the most out of Pinterest Tag.

You can use data collected by Pinterest Tag to better understand which of your products are successful on Pinterest, and to target new customers using Promoted Pins.

You can track:

  • clicks to Buyable Pins
  • views of close-ups to Buyable Pins
  • re-pins of Buyable Pins
  • top Buyable Pins by re-pins and clicks.

Including Pinterest Tag in your privacy policy

Pinterest requires that you state you are using Pinterest Tag in your store's Privacy Policy. Make sure you clearly state that your store uses Pinterest Tag to track your customers' behavior.

Using Pinterest Tag

How you install Pinterest Tag depends on whether you already have the Pinterest Sales Channel active on your store.

If you have installed the Pinterest Sales Channel

  1. Click 'Pinterest'.
  2. In the Pinterest Tag section, click Enable.
  3. Click Save.

If you have not installed the Pinterest sales channel

  1. From your Shopify admin, click the + button beside Sales channels.
  2. On the Add sales channel dialog, find Pinterest within the list of available channels, and then click Learn more.
  3. Click Add channel.
  4. Opt in to using Pinterest Tag by clicking the checkbox.

If you can't install the Pinterest sales channel

Using the Pinterest sales channel is the best way to enable Pinterest Tag. If your store is ineligible for the sales channel, or you would rather not use it, then it is possible to still use Pinterest Tag. Pinterest has detailed information about how to enable Pinterest Tag.

You have two options for enabling Pinterest Tag:

Upload a file

Download an html file from your Pinterest business account profile and upload it to your store. You will have to confirm your store from your Pinterest business account profile to activate Pinterest Tag.

Add the tracking code to your store pages


Working with the code of your store pages requires some knowledge of html/css.

Copy the code from Pinterest Tag.

  1. Find the theme you want to edit, and then click Actions > Edit code.

  2. Click theme.liquid.

  3. Scroll until you see </head> and paste the code above it.

Confirming your store

Before you can access the engagement data that Pinterest Tag provides, you have to confirm your store with a snippet of code:

  1. Find the Website section, and click Confirm website.
  2. From your Shopify admin, click Online Store, and then click Themes.
  3. Find the theme you want to edit, click the ... button, and then click Edit HTML/CSS.
  4. Click theme.liquid.
  5. Scroll until you see </head> and paste the code above it.
  6. Click Save.
  7. Return to Pinterest and click the Finish button to confirm your store.

If you get an error while confirming your store, then you can contact Pinterest to have them confirm your store.

Disabling Pinterest Tag

You can opt out of using Pinterest Tag:

  1. Click Pinterest.
  2. In the Pinterest Tag section, click Disable.
  3. Click Save.
  4. Click Disable Tag.

Your customers can also opt out of being tracked by Pinterest Tag in the basic settings of their Pinterest user account:  

Customer opt out

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free