Problem with Pinterest Tag Installation

Rainbowbowls
Tourist
5 0 1

Hello Everyone

I want to install the Pinterest tag in my Shopify BROOKLYN THEME. I followed the three steps for installation but it doesn't work. This is the type of error reported by Pinterest Tag Helper: 

Pinterest Tag HelperPinterest Tag Helper

I think the problem is on the third step which is the following:

<< In "templates", locate the code file called "product.liquid" or "product-template.liquid" or "product-form. Liquid" and open it. Note that the name may vary depending on the theme installed, but the code of the "Add to cart" button is present in the products.liquid or equivalent file. >>

 

I have to put the code onclick = "pintrk ('track', 'addtocart');"   here:

Schermata 2020-06-07 alle 14.31.39.png

 

I WAIT FOR YOUR PRECIOUS ADVICE

Mattia

Replies 2 (2)
lapislazuli
New Member
8 0 0

Did you get this resolved? I have the same problem. But my line 228 looks different from yours. I'm using Brooklyn theme as well. 

WeDoTheStuff
New Member
20 0 0

Hi @Rainbowbowls,

If you are having issues implementing your Pinterest pixel you can use our app.

A couple of clicks and you are good to go.

https://apps.shopify.com/pinterest-pixel-helper

Check it out!