Giter VIP home page Giter VIP logo

pinterest-tag's Introduction

Pinterest Conversion API Tag for Google Tag Manager Server Container

How to use Pinterest tag


Event Name Setup Method - select from a list of standard events, add a custom event, or choose to Inherit an event name from a client. When Inherit from client is selected, the Pinterest CAPI tag will try to map events automatically into standard events or use a custom name if it’s impossible to map into a starred event.

Pinterest Advertiser ID - You can find it by logging into the Pinterest account that owns your advertiser account, then going to "ads.pinterest.com." In the top navigation section, click "Viewing: " and the advertiser id will be the number underneath the ad account name in the drop-down menu. If your Pinterest account has multiple ad accounts, make sure you are choosing the proper one that you want to use for owning your API conversion events. Another way to confirm your advertiser id is to navigate to Ads > Overview and look for the id in the URL path. It will look like: "ads.pinterest.com/advertiser/ADVERTISER_ID/?...".

Test request - The events will not be recorded, but the API will still return the same response messages. Use this mode to verify your requests are working and that your events are constructed correctly.

Server Event Data Override - select from a list of custom data.

User Data - select from a list of user data.

Custom Data - select from a list of product data.

Logs Settings - choose if you want to log requests to your stape account. This feature is handy when setting up server-side tagging since it allows seeing incoming and outgoing requests and network responses.

Benefits of Pinterest tag:

  • Supports event deduplication.
  • Supports standard and custom events.
  • Supports real-time server event testing.
  • Does not require Access Token. You should use only a Pinterest advertiser ID.
  • You can send event and product data.

Useful link:

Open Source

Pinterest Tag for GTM Server Side is developing and maintained by Stape Team under the Apache 2.0 license.

pinterest-tag's People

Contributors

bukashk0zzz avatar dmtsolovey avatar khorozhanov avatar nicedawg avatar zephanhazell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pinterest-tag's Issues

makeString function not working properly

I am testing this Tag and I am getting the following error message from the Pinterest API:

{"code":1,"message":"Invalid request: 50 is not of type string, 50 is not of type string"}

I see in the code you have a "makeString" function to convert from number (int / double) to string these values: "value" and "item_price".

But for some reason it is not working. It is still sending the values as numbers and not strings. My input is a double number (e.g. 50.00). The template should convert it to string to be able to send it properly to the API.

new

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.