Pinterest Addtocart event code | Turbo theme

New Member
1 0 0

Hello Everyone,


I'm trying to set up Pinterest conversion tracking codes, so I just pasted a Pinterest base tag & Checkout Event to the theme.liquid file & checkout settings, however, I also want to add the Add To Cart event code, but I was not able to do it with the help of the official instructions since I couldn't find a line of code where I needed to pass the Add to Cart code. Can you tell me exactly where I should paste the code?


Instructions that I was looking at were these (Step 3) :


In my current code that I have in my product.liquid I couldn't find addtocart section where I need to input the Pinterest code. I talked to a support agent on chat and he pointed me out here.  FYI I'm using the turbo theme.

If there is more info you need let me know. Any help would be highly appreciated. Thanks!