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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Omari Posted May 28 Share Posted May 28 On 9/21/2022 at 3:41 PM, 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 know this is old, but for anyone else trying, you'll likely get an error without the currency code. Here's an updated guide on how to do setup the pinterest tags with Squarespace. Founder - SQSPThemes.com 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