1try { 2 document.addEventListener('yacounter33193178inited', () => { 3 console.log('metrika inited!'); 4 5 simpleCart.bind('beforeAdd', () => ym(33193178,'reachGoal','addtocart')); 6 7 const orderButton = document.querySelector('#cartSubmit1btn'); 8 9 if (orderButton) { 10 orderButton.addEventListener('click', () => ym(33193178,'reachGoal','order_created')); 11 } 12 }); 13} catch (error) { 14 console.log('Error from simple_cart_events.js:'); 15 console.error(error); 16}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.