Pinterest Tag product_id issue

thesaltypalmthesaltypalm Member Posts: 1

I'm trying to get Verified Merchant status on Pinterest. I have to be able to point certain data to their tracking code for me to be eligible. I can't seem to get the code just right, so I'm hoping someone can help me out. I pulled the values from the import page, thinking that the column titles would suffice but as the code stands, the only tag that's firing is page visit. So that part's working, but I need to be able to track product_id, and item value. Any help will be much appreciated! Here's a chunk of the code:

 <script>

  pintrk('track', 'pagevisit', {

  product_id: {{id}}, 

  });

  pintrk('track', 'addtocart', {

   value: {{amount}}, 

   currency: 'USD',

   product_id: {{id}}

  });

  pintrk('track', 'checkout', {

  value: {{amount}},

  product_id: {{id}},

  order_quantity: {{quantityOrdered}},

  currency: 'USD'

 });

 </script>

Sign In or Register to comment.