I am attempting to integrate Pinterest conversion tags with my Squarespace site. I've gotten two of them working, but still struggling with the AddToCart event. I tried adding code into the header to fire when the "Add to Cart" button was visible, but it isn't finding the button, even when it is there. Does anyone have any tips with how they've been able to integrate this pinterest tag? I am sure I am just missing something obvious, so any help is greatly appreciated. TIA!
Question
blairmade 0
Site URL: https://www.blairmade.com/
I am attempting to integrate Pinterest conversion tags with my Squarespace site. I've gotten two of them working, but still struggling with the AddToCart event. I tried adding code into the header to fire when the "Add to Cart" button was visible, but it isn't finding the button, even when it is there. Does anyone have any tips with how they've been able to integrate this pinterest tag? I am sure I am just missing something obvious, so any help is greatly appreciated. TIA!
window.onload = function() { test = document.getElementById('yui_3_17_2_1_1595252067143_172') console.log("Printing " + test); //alert(document.getElementById("yui_3_17_2_1_1595035499467_119")); };
Link to post
Top Posters For This Question
1
1
Popular Days
Jul 27
1
Oct 12
1
Top Posters For This Question
blairmade 1 post
beeschahh 1 post
Popular Days
Jul 27 2020
1 post
Oct 12 2020
1 post
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment