1/* mirror-ga4.js â ãã©ã¼ãµã¤ã GA4 è¨æ¸¬ï¼add_ga4.py ã«ããèªåçæãç´æ¥ç·¨éããªãï¼ */ 2(function () { 3 var ID = 'G-GY6RXDGFRS'; 4 var VENDOR = 'mizu-support'; 5 window.dataLayer = window.dataLayer || []; 6 function gtag() { dataLayer.push(arguments); } 7 window.gtag = window.gtag || gtag; 8 9 /* ?ga4debug=1 ã§çå°ããã¨ã»ãã·ã§ã³ä¸ debug_mode ãç¶æï¼thanksé·ç§»å¾ãDebugViewã§è¿½ããï¼ */ 10 var debug = false; 11 try { 12 if (/[?&]ga4debug=1/.test(location.search)) { sessionStorage.setItem('mirror_ga4_debug', '1'); } 13 debug = sessionStorage.getItem('mirror_ga4_debug') === '1'; 14 } catch (e) {} 15 16 var s = document.createElement('script'); 17 s.async = true; 18 s.src = 'https://www.googletagmanager.com/gtag/js?id=' + ID; 19 document.head.appendChild(s); 20 21 gtag('js', new Date()); 22 var cfg = { mirror_vendor: VENDOR }; 23 if (debug) { cfg.debug_mode = true; } 24 gtag('config', ID, cfg); 25 26 /* ãã©ã¼ã éä¿¡æåå¾ã® /thanks/ 表示 = ã¡ã¼ã«CVï¼å ¨ãã©ã¼å ±éã¤ãã³ãåã§éç´ï¼ */ 27 if (/^\/thanks\/?$/.test(location.pathname)) { 28 var ev = { mirror_vendor: VENDOR }; 29 if (debug) { ev.debug_mode = true; } 30 gtag('event', 'cv_mirror_mail', ev); 31 } 32})();
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.