1"use strict"; 2 3function initMatomo({ url, siteId }) { 4 var _paq = (window._paq = window._paq || []); 5 _paq.push(["trackPageView"]); 6 _paq.push(["enableLinkTracking"]); 7 _paq.push(["setTrackerUrl", `${url}matomo.php`]); 8 _paq.push(["setSiteId", siteId]); 9 10 var d = document; 11 var g = d.createElement("script"); 12 var s = d.getElementsByTagName("script")[0]; 13 g.async = true; 14 g.src = `${url}matomo.js`; 15 s.parentNode.insertBefore(g, s); 16} 17 18function initClarity({ clarityId }) { 19 window.clarity = 20 window.clarity || 21 function () { 22 (window.clarity.q = window.clarity.q || []).push(arguments); 23 }; 24 25 const script = document.createElement("script"); 26 script.async = true; 27 script.src = `https://www.clarity.ms/tag/${clarityId}?ref=bwt`; 28 29 const first = document.getElementsByTagName("script")[0]; 30 first.parentNode.insertBefore(script, first); 31} 32 33function initGA4({ measurementId }) { 34 const loader = document.createElement("script"); 35 loader.src = `https://www.googletagmanager.com/gtag/js?id=${measurementId}`; 36 loader.async = true; 37 document.head.appendChild(loader); 38 39 window.dataLayer = window.dataLayer || []; 40 window.gtag = function gtag() { 41 window.dataLayer.push(arguments); 42 }; 43 44 loader.addEventListener("load", function () { 45 window.gtag("js", new Date()); 46 window.gtag("config", measurementId); 47 }); 48} 49 50function initMetricool({ hash }) { 51 const script = document.createElement("script"); 52 script.type = "text/javascript"; 53 script.src = "https://tracker.metricool.com/resources/be.js"; 54 script.addEventListener("load", function () { 55 beTracker.t({ hash }); 56 }); 57 document.head.appendChild(script); 58} 59 60(function () { 61 // Matomo 62 initMatomo({ 63 url: "https://matomo.spelldata.co.jp/", 64 siteId: "2", 65 }); 66 67 // Clarity 68 initClarity({ 69 clarityId: "gsdhfn8je8", 70 }); 71 72 // GA4 73 initGA4({ 74 measurementId: "G-S00DH33WK4", 75 }); 76 // Metricool 77 initMetricool({ 78 hash: "e4370d16c3dbe0d36d295499c8ec880a", 79 }); 80})();
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.