Pinterest conversion tracking tag for WooCommerce orders

I need to install the Pinterest conversion tag to dynamically track ‘value’ and ‘order_quantity’ from WooCommerce orders. The Pinterest tag has 2 parts of Javascript. Part 1 is the Base Code that goes in the header of the site. Part 2 is the Event code that goes in the header of the Checkout.

I think Part 2 is what must be modified below (value and order_quantity need to be changed to pull from WooCommerce orders):

<script>
pintrk('track', ' checkout ', {
    value: {{Enhanced Transaction Revenue}},
    order_quantity: {{item.quantity}}
  });
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src=" https://ct.pinterest.com/v3/?tid= 123456789 &event= checkout &noscript=1" /> </noscript>

Pinterest conversion tag guide here: https://help.pinterest.com/sites/help/files/pinterest_tag_instructions.pdf

I’m desperate at this point so any help would be greatly appreciated…and rewarded!

Read more here: Pinterest conversion tracking tag for WooCommerce orders

Leave a Reply

Your email address will not be published. Required fields are marked *