1/* ============================================================ 2 ARGYLE BUSINESS ASSOCIATION â WEBSITE ANALYTICS 3 ============================================================ 4 This file turns on visitor tracking (how many people visit 5 your site and roughly where they are). 6 7 ð TO SWITCH IT ON (do this once, after your site is live): 8 1. Go to https://analytics.google.com and sign in with a 9 Google account. 10 2. Create a property for argylebiz.com (Admin â Create â 11 Property), then add a "Web" data stream for your site. 12 3. Google gives you a Measurement ID that looks like 13 G-XXXXXXXXXX. Copy it. 14 4. Paste it between the quotes on the line below, replacing 15 G-XXXXXXXXXX. Save this file and re-upload it. 16 17 That's the ONLY edit you need â every page already points here. 18 Until a real ID is entered, this stays completely off and sends 19 nothing anywhere (so it's safe on your local copy right now). 20 ============================================================ */ 21 22var GA_MEASUREMENT_ID = "G-X09VQXJCYL"; // <-- paste your real ID here 23 24/* ---- no need to touch anything below this line ---- */ 25(function () { 26 // Not configured yet? Do nothing at all. 27 if (!GA_MEASUREMENT_ID || GA_MEASUREMENT_ID === "G-XXXXXXXXXX") return; 28 29 // Don't bother tracking when opened as a local file. 30 if (location.protocol === "file:") return; 31 32 var s = document.createElement("script"); 33 s.async = true; 34 s.src = "https://www.googletagmanager.com/gtag/js?id=" + GA_MEASUREMENT_ID; 35 document.head.appendChild(s); 36 37 window.dataLayer = window.dataLayer || []; 38 function gtag() { dataLayer.push(arguments); } 39 window.gtag = gtag; 40 gtag("js", new Date()); 41 gtag("config", GA_MEASUREMENT_ID); 42})();
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.