Skip to content

managed-components/pinterest

Repository files navigation

Pinterest Managed Component

Find out more about Managed Components here for inspiration and motivation details.

Released under the Apache license. PRs welcome! code style: prettier All Contributors

🚀 Quickstart local dev environment

  1. Make sure you're running node version >=17.
  2. Install dependencies with npm i
  3. Run unit test watcher with npm run test:dev

⚙️ Tool Settings

Settings are used to configure the tool in a Component Manager config file

TID string required

tid Pixel Tag ID - The Pinterest Tag ID is the unique identifier of your Pinterest tag. Learn more.


Fields Description

Fields are properties that can/must be sent with certain events.

Required Fields

Event Name string required

event - The name of the tracking event to be sent to Pinterest.

Optional Fields

User Defined Event string optional

ude - Specify a custom event name for audience targeting purposes. Spaces in the event name will be removed. Learn more.

Partner Data Email string optional

pdem - Specifies the email address associated with the partner data, if applicable.

Tag Manager string optional

tm - Indicates the Tag Manager used, defaults to 'pinterest-mc' if not specified.

Lead Type string optional

lead_type - Describes the type of lead being tracked, such as 'Newsletter', 'Signup', etc.

Video Title string optional

video_title - The title of the video for tracking specific video events.

E-commerce Tracking boolean optional

ecommerce - Enables or disables the forwarding of Zaraz E-commerce API events to Pinterest. This includes events like Search, AddToCart, and Checkout. Learn more.


📝 License

Licensed under the Apache License.

💜 Thanks

Thanks to everyone contributing in any manner for this repo and to everyone working on Open Source in general.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!