AmyJP Posted September 21, 2022 Share Posted September 21, 2022 Site URL: https://amyjopilates.com/ I'm attempting to setup the ecommerce integration with the Pinterest tag and I'm not finding a solution for what I need to do here. I have done the following: Placed Pinterest tag in header of site under code injection Place checkout event code data on order confirmation page code box I'm getting errors on my tag but I'm not sure how to fix them. I'm also not sure how to edit this current code for the checkout to fix the errors they're saying we have. This is the code I added to the order confirmation page: <script> pintrk('track', 'checkout',{ value: {orderGrandTotal}, order_quantity:1 line_items: [ { product_id: '1414' } ] }); </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=2613884621991&event=checkout&noscript=1"/> </noscript> I added the product ID but it's pulling that we need currency and value as well as product ID when I added product ID. I'm also completely lost on how to track add to carts as well. Any help would be appreciated. Link to comment
Beyondspace Posted September 24, 2022 Share Posted September 24, 2022 On 9/22/2022 at 2:41 AM, AmyJP said: Site URL: https://amyjopilates.com/ I'm attempting to setup the ecommerce integration with the Pinterest tag and I'm not finding a solution for what I need to do here. I have done the following: Placed Pinterest tag in header of site under code injection Place checkout event code data on order confirmation page code box I'm getting errors on my tag but I'm not sure how to fix them. I'm also not sure how to edit this current code for the checkout to fix the errors they're saying we have. This is the code I added to the order confirmation page: <script> pintrk('track', 'checkout',{ value: {orderGrandTotal}, order_quantity:1 line_items: [ { product_id: '1414' } ] }); </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=2613884621991&event=checkout&noscript=1"/> </noscript> I added the product ID but it's pulling that we need currency and value as well as product ID when I added product ID. I'm also completely lost on how to track add to carts as well. Any help would be appreciated. I found the following references: Squarespace tutorial: https://support.squarespace.com/hc/en-us/articles/206543577-Connecting-Pinterest-to-Squarespace Pinterest: https://help.pinterest.com/en/business/article/squarespace-and-pinterest-tag Hope they can help Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment