I need to add the PINTEREST Event code for ADD TO CART on my page. How do i tie this to the action of when someone clicks BUY NOW to add to the cart.
I did add it to the HEAD but didnt work, it needs to be attached to the actual user INTERACTION of pressing button or loading cart.
this is the code:
<script>
pintrk('track', 'addtocart', {
value: 35,
order_quantity: 1,
currency: 'USD',
line_items: [
{
product_price: 35.00
}
]
});
</script>