Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Shopify Dawn Theme, Pinterest Tag "Add To Cart" and "Product ID" Event Doesn't Work

Solved

Shopify Dawn Theme, Pinterest Tag "Add To Cart" and "Product ID" Event Doesn't Work

Kutalp
Tourist
5 0 1

Please see the image below. Basically Pinterest Tag doesn't work properly. I used Pinterest app on Shopify store. There is a guide https://help.pinterest.com/en/business/article/link-your-shopify-and-pinterest-accounts suggests to add this code but where how I couldn't find.

onclick="pintrk('track', 'addtocart');"

Screenshot 2024-08-18 at 00.05.51.png

 

Screenshot 2024-08-18 at 00.54.19.png

Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @Kutalp,

I hope you are doing well.

That doc seems to be for vintage themes. If you are using Dawn, you can find the form in snippets/buy-buttons.liquid. Open that file and find id="ProductSubmitButton-{{ section_id }}, it is a button with type="submit" like the following picture.

BSSCommerceB2B_0-1723948749597.png

I hope this is useful to you!🤗

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @Kutalp,

 

I am not familiar with Pinterest but you can try to change the tracking code to this

onclick="pintrk('track', 'addtocart', {line_items: [{ product_id: '{{ product.id }}'}]});"

 

If our suggestion is helpful, can you kindly give us a like? 🤗 This can be a reference for other merchants if they have an issue like you and greatly motivate us to contribute to our community. Thanks in advance. 😍

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @Kutalp,

I hope you are doing well.

That doc seems to be for vintage themes. If you are using Dawn, you can find the form in snippets/buy-buttons.liquid. Open that file and find id="ProductSubmitButton-{{ section_id }}, it is a button with type="submit" like the following picture.

BSSCommerceB2B_0-1723948749597.png

I hope this is useful to you!🤗

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Kutalp
Tourist
5 0 1

I did the same before but it didn't work, I will try again update here.

Kutalp
Tourist
5 0 1

Screenshot 2024-08-18 at 17.41.49.png

 

Event works but product id is missing, how can add it?

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @Kutalp,

 

I am not familiar with Pinterest but you can try to change the tracking code to this

onclick="pintrk('track', 'addtocart', {line_items: [{ product_id: '{{ product.id }}'}]});"

 

If our suggestion is helpful, can you kindly give us a like? 🤗 This can be a reference for other merchants if they have an issue like you and greatly motivate us to contribute to our community. Thanks in advance. 😍

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now