!-- Begin Pinterest Tag --> //addtocart event window.addEventListener('DOMContentLoaded', function() { if (document.querySelectorAll('.atc-button--text')) { var ATCbutton = document.querySelectorAll('.atc-button--text'); for (let i = 0; i < ATCbutton.length; i++) { ATCbutton[i].addEventListener('click', function() {pintrk('track', 'addtocart',{ value: '', order_quantity: '', line_items: [ { product_id: '', }, ],})})}}});