Articles on: Client Side

Creating Pinterest Event Tags

Setting up Pinterest event tags helps you track important actions users take on your website, such as making purchases, viewing specific pages, or signing up for newsletters. This tracking is essential for understanding how visitors interact with your site, which pages they engage with, and what leads them to complete specific actions.

By collecting this data, you gain insights into user behavior, allowing you to make informed decisions about your website's design, content, and functionality. You will be able to measure the effectiveness of your Pinterest ads and other marketing efforts. With this information, it's easier to optimize the user experience and make improvements based on real data rather than assumptions.

This document provides a guide to setting up and configuring Pinterest event tags.

Let’s get started 🚀

Create Pixel ID Variable



By creating the variable of your Pixel ID simplifies the process of managing your tags. Instead of manually entering the Pixel ID each time you create a new tag, the variable allows you to reference it consistently across all your tracking configurations. This reduces the risk of errors, saves time, and ensures uniformity in your setup



Create Base Code Tag



By creating a base code tag ensures that your Pinterest Pixel ID is properly integrated, which is essential for accurate data collection. Without it, advanced tracking features like event tags or conversion tracking cannot function correctly. The base code acts as the primary link between your website and Pinterest, creating a framework for all subsequent tracking efforts.



Create Pinterest - Event Name Tag



By setting up an event tag, you ensure that important user actions, such as purchases or add-to-cart events, are captured and sent to Pinterest. This data helps analyze user behavior and evaluate the performance of your Pinterest campaigns. For instance, tracking a purchase event allows you to measure the return on investment (ROI) of your ads, while tracking add-to-cart events provides insights into user intent and identifies potential drop-off points in the conversion process.



Configure Pinterest-Event Name Tag



Here, you will configure the Pinterest event tag to match the specific details of the user action you want to track. Proper configuration ensures that the tag behaves as expected and sends accurate data to Pinterest.

While configuring the Pinterest Event Name tag, you need the Unique Event ID variable and a Hashed Email variable to accurately track events and link them to specific user interactions.

Ensure that when you choose the event name it should matches to your GA4 event tag. Below is a comparison of GA4 and Pinterest event names:

GA4 Event NamePinterest Event Name
page_viewPage Visit
add_to_cartAdd To Cart
purchaseCheckout
sign _upSignup
generate_leadLead
searchSearch
view_item_listViewCategory




Create Pinterest-Eventname Trigger



A Pinterest-eventname trigger controls when a specific Pinterest event tag activates on your website. Triggers set the conditions for the event tag to fire, such as when a user completes a purchase or adds an item to their cart. This ensures that data is collected only during relevant interactions.

The trigger prevents the tag from firing unnecessarily or during unrelated actions, keeping your tracking setup efficient and focused on collecting accurate, useful data.



Before publishing the web container, use the preview mode to test your setup. This allows you to verify that all tags and triggers are working correctly and firing at the appropriate times based on the interactions on your website. Checking this ensures that your tracking setup is accurate and functioning as intended before it goes live.

How to create Hash Email Variable



Using a hashed email variable to capture customer email data improves the accuracy of your tracking setup. This variable securely processes and includes the email addresses in your tracking events

Updated on: 03/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!