PageSourceSearch

https://dibaqpetcare.com/modules/matomo/views/js/matomomodule.js

js dibaqpetcare.com collected 2026-09-24 13:08:59 UTC 2,212 bytes, 9 lines download raw bytes

1/**
2 * Matomo tracker Prestashop intergration module
3 *
4 * @author JBW
5 * @copyright JBW
6 * @license restricted
7 * @version 1.1.0
8 */
9var _paq=window._paq||[];function eComCartTracking(){1==matomomodule.ecomTracking&&matomomodule.cart&&matomomodule.cart.products&&0!=matomomodule.cart.products.length&&(matomomodule.cart.products.forEach(function(r){_paq.push(["addEcommerceItem",buildSKU(r.sku,r.attributes),buildSKU(r.name,r.attributes),r.category,r.price,r.quantity])}),_paq.push(["trackEcommerceCartUpdate",matomomodule.cart.totalprice])),1==matomomodule.ecomTracking&&matomomodule.order&&matomomodule.order.orderid>0&&(matomomodule.order.products.forEach(function(r){_paq.push(["addEcommerceItem",buildSKU(r.sku,r.attributes),buildSKU(r.name,r.attributes),r.category,r.price,r.quantity])}),_paq.push(["trackEcommerceOrder",matomomodule.order.orderid,matomomodule.order.total,matomomodule.order.subtotal,matomomodule.order.tax,matomomodule.order.shipping,matomomodule.order.discounts]))}function buildSKU(r,e){var t=r;return e&&0!=e.length&&(t+=" "+e),t}1==matomomodule.ecomTracking&&matomomodule.product&&_paq.push(["setEcommerceView",buildSKU(matomomodule.product.sku,matomomodule.product.attributes),buildSKU(matomomodule.product.name,matomomodule.product.attributes),matomomodule.product.category,matomomodule.product.price]),1==matomomodule.ecomTracking&&matomomodule.category&&_paq.push(["setEcommerceView",!1,!1,matomomodule.category]),eComCartTracking(),1==matomomodule.disableCookies&&_paq.push(["disableCookies"]),1==matomomodule.trackUserIDs&&void 0!==matomomodule.userID&&_paq.push(["setUserId",matomomodule.userID]),_paq.push(["trackPageView"]),_paq.push(["enableLinkTracking"]),function(){_paq.push(["setTrackerUrl",matomomodule.url+"matomo.php"]),_paq.push(["setSiteId",matomomodule.siteid]);var r=document,e=r.createElement("script"),t=r.getElementsByTagName("script")[0];e.type="text/javascript",e.async=!0,e.defer=!0,e.src=matomomodule.url+"matomo.js",t.parentNode.insertBefore(e,t)}(),"undefined"!=typeof prestashop&&(prestashop.on("updateCart",function(r){eComCartTracking()}),prestashop.on("updatedProduct",function(){})),$(document).bind("hide.bs.modal",function(){eComCartTracking()});

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.