PageSourceSearch

https://www.laclinica.com/cdn/shop/t/113/assets/klaviyo-add-to-cart.js?v=169893706806927980961727061133

js laclinica.com collected 2026-09-26 13:51:14 UTC 1,988 bytes, 2 lines download raw bytes

1window.addEventListener("load",function(){var _learnq=window._learnq||[];function addedToCart(){fetch(`${window.location.origin}/cart.js`).then(res=>res.clone().json().then(data=>{var cart={total_price:data.total_price/100,$value:data.total_price/100,total_discount:data.total_discount,original_total_price:data.original_total_price/100,items:data.items};item!=="undefined"&&(cart=Object.assign(cart,item)),klAjax&&(_learnq.push(["track","Added to Cart",cart]),klAjax=!1)}))}(function(ns,fetch2){ns.fetch=function(){const response=fetch2.apply(this,arguments);return response.then(res=>{`${window.location.origin}/cart/add.js`.includes(res.url)&&res.url!==""&&addedToCart()}),response}})(window,window.fetch);for(var klAjax=!0,atcButtons=document.querySelectorAll("form[action*='/cart/add'] button[type='submit']"),i=0;i<atcButtons.length;i++)atcButtons[i].addEventListener("click",function(){klAjax&&(_learnq.push(["track","Added to Cart",item]),klAjax=!1)});for(var collectionAddBtn=document.getElementsByClassName("product-action-button"),addToCart=async function(event){const node_id=event.target.getAttribute("data-idp"),variant=event.target.getAttribute("data-currentvariant"),linkNode="secomapp-fg-data-"+node_id,url=document.getElementById(linkNode).parentNode.getElementsByTagName("a")[0].getAttribute("href"),image=document.getElementById(linkNode).parentNode.getElementsByTagName("img")[0].getAttribute("src"),price=event.target.parentNode.parentNode.getElementsByClassName("product-price")[0].innerText,title=event.target.parentNode.parentNode.parentNode.getElementsByClassName("product-item-title")[0].innerText;_learnq.push(["track","Added to Cart",{Name:title,ProductID:variant,Categories:["N/A"],ImageURL:image,URL:url,Brand:"La Clinica",Price:price,CompareAtPrice:""}])},i=0;i<collectionAddBtn.length;i++)collectionAddBtn[i].addEventListener("click",addToCart,!1)});
2//# sourceMappingURL=/cdn/shop/t/113/assets/klaviyo-add-to-cart.js.map?v=169893706806927980961727061133

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.