1/* 2 3 ââââââââââ ââââââââââ âââââââââââââââ ââââ âââ ââââââ âââ âââââââââââââââ âââââââ 4ââââââââââââ âââââââââââââââââââââââââââââââââ ââââââââââââââ âââââââââââââââââââââââ 5âââ âââââââ ââââââââââââââ ââââââââââââââ ââââââââââââââ âââ âââ ââââââ 6âââ âââââ ââââââââââââââ âââââââââââââââââââââââââââââ âââ âââ ââââââ 7ââââââââ âââ âââââââââââââââââââ ââââââ âââââââââ ââââââââââââ âââ âââââââââââ 8 âââââââ âââ âââââââ âââââââââââ ââââââ ââââââââ âââ âââââââ âââ âââ âââââââ 9 10*/ 11 12try { 13 14// Global Variables -------------------------------------------------------------------- / 15 16var SEO = { 17 "bingWebmaster": "BC75BF528E6257EF418F0C9FD9EA6A4A", 18 "facebookWebmaster": "vp7707sjxcxhz3z32oe1yacqy89ujk", 19 "favicon": "384", 20 "googleAdsWebsitePhoneCallConversionLabel": "ihNzCK_6__wDEOS5yeEC", 21 "googleAnalytics": [ 22 "G-B7CCDKM9EB", 23 "G-2WX3NXXFBF" 24 ], 25 "googleAudienceBuilderID": "AW-741498084", 26 "googleDataStudioCode": "91e3a298-c494-4ead-b6d6-555e64e5f838", 27 "googleTagManager": [ 28 "GTM-M5WCB8Q9" 29 ], 30 "googleWebmaster": "ByCgW_I2hafVimdopLSUmHmRCjR60lHiQfqNQPVYuro", 31 "metaDescription": "Eureka College is a liberal arts college in Eureka, IL. For 168 years, we\\'ve equipped graduates to be engaged citizens, leaders, & successful professionals.", 32 "metaImage": "10781", 33 "metaImageHeight": "630", 34 "metaImageWidth": "1200", 35 "facebookPixel": [] 36}; 37 38// Google Analytics -------------------------------------------------------------------- / 39 40window.dataLayer = window.dataLayer || []; 41if(typeof(window.gtag) != "function") { window.gtag = function() { dataLayer.push(arguments); } } 42gtag('js', new Date()); 43gtag('config', 'G-B7CCDKM9EB'); 44 45window.dataLayer = window.dataLayer || []; 46if(typeof(window.gtag) != "function") { window.gtag = function() { dataLayer.push(arguments); } } 47gtag('js', new Date()); 48gtag('config', 'G-2WX3NXXFBF'); 49 50// Google Audience Builder (Global Tag) -------------------------------------------------------------------- / 51 52window.dataLayer = window.dataLayer || []; 53if(typeof(window.gtag) != "function") { window.gtag = function() { dataLayer.push(arguments); } } 54gtag('js', new Date()); 55gtag('config', 'AW-741498084'); 56 57// Google Audience Builder (Page Views) -------------------------------------------------------------------- / 58 59if(typeof(gtag) == "function") { 60 61 window.report_gtag_page_view = function() { 62 63 var google_tag_params_element = document.querySelectorAll('[data-google-tag-params]'); 64 65 if(google_tag_params_element.length > 0) { 66 67 var google_tag_params = JSON.parse(google_tag_params_element[0].innerHTML); 68 69 } 70 71 if(typeof(google_tag_params) == "undefined") { 72 73 var google_tag_params = { "listing_pagetype": "home" }; 74 75 } 76 77 google_tag_params["send_to"] = 'AW-741498084'; 78 79 gtag('event', 'page_view', google_tag_params); 80 81 } 82 83 report_gtag_page_view(); 84 85} 86 87// Google Tag Manager -------------------------------------------------------------------- /
vendor: 329 bytes, lines 87-93
87 88 89(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 90new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 91j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 92'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 93})(window,document,'script','dataLayer','
93GTM-M5WCB8Q9
vendor: 5 bytes, lines 93-94
93'); 94
95// Form Conversions -------------------------------------------------------------------- / 96 97window.report_form_block_conversion = function(block_id) { 98 99 if(typeof(block_id) == "undefined") { 100 console.error("report_form_block_conversion(): No block ID."); 101 return false; 102 } 103 104 try { 105 106 if(typeof(fbq) == "function") { 107 fbq('track', 'Lead'); 108 } 109 110 } catch(e) {} 111 112 var conversion_ids = {"10":"gk3KCP7Lop8BEOS5yeEC","205":"ust8CM7Dt58BEOS5yeEC","324":"yLT2CPbu-Z8BEOS5yeEC","546":"gk3KCP7Lop8BEOS5yeEC","668":"ust8CM7Dt58BEOS5yeEC"}; 113 114 if(typeof(conversion_ids[block_id]) != "undefined") { 115 116 if(typeof(gtag) == "function") { 117 118 var conversion_id = conversion_ids[block_id]; 119 120 gtag('event', 'conversion', { 121 'send_to': 'AW-741498084/' + conversion_id, 122 'event_callback': function() { 123 124 console.log("Conversion report: " + conversion_id); 125 126 } 127 }); 128 129 } else { 130 console.warn("Conversion report blocked by browser."); 131 } 132 133 } 134 var ga_events = {"8":"Footer Forms","10":"Footer Forms","40":"Contact Us","107":"Recommend a Student","205":"Donate Old","324":"Schedule a Visit","344":"Alumni Awards","352":"Deposit","389":"Parking On Campus","394":"RAVE Information","399":"Media Release","406":"Ronald Reagan Leadership Program","410":"Personal Data Document","452":"International Scholarships","539":"Reagan Leadership Application References","544":"Art","546":"Virtual Tour Form","634":"Leadership & Communication Form","668":"Donate Old 2","686":"Media Relations Request","730":"Barton Service Scholarship","789":"Members of the Christian Church (Disciples of Christ)","792":"Housing Contract","802":"Off Campus Housing Contract","851":"Housing Deposit Payments","887":"Coronavirus Form","895":"Coronavirus Student Report Form","976":"Bridging the Divide","1516":"Title IX Support and Resources","1623":"Alumni Awards","1655":"Alumni Awards"}; 135 136 if(typeof(ga_events[block_id]) != "undefined") { 137 138 if(typeof(gtag) == "function") { 139 140 var ga_event = 'Cybernautic Form Submit - ' + ga_events[block_id]; 141 142 gtag('event', ga_event); 143 144 } else { 145 console.warn("Conversion report blocked by browser."); 146 } 147 148 } else { 149 console.error("report_form_block_conversion(): No ga event for this block ID (" + block_id + ")."); 150 } 151 152 153 return false; 154 155} 156 157// Custom Analytics Trackers -------------------------------------------------------------------- / 158 159window.report_custom_analytics_trackers = function() { 160 161 try { 162 163 if(typeof(window.report_gtag_page_view) == "function") { 164 report_gtag_page_view(); 165 } 166 167 } catch(e) {} 168 169 try { 170 171 if(typeof(ga) == "function") { 172 173 ga('set', 'location', window.location.href); 174 ga('send', 'pageview'); 175 176 } 177 178 } catch(e) {} 179 180 try { 181 182 var _hsq = window._hsq = window._hsq || []; 183 _hsq.push(['trackPageView']); 184 185 } catch(e) {} 186 187 try { 188 189 if(typeof(fbq) == "function") { 190 191 fbq('track', 'PageView'); 192 193 } 194 195 } catch(e) {} 196 197} 198 199// Phone Links (Links Click Conversions) -------------------------------------------------------------------- / 200 201$("body").on("click", "a[href^='tel:']", function(e) { 202 203 var url = typeof($(this).attr("href")) != "undefined" ? $(this).attr("href") : false; 204 205 if(typeof(gtag) == "function") { 206 207 gtag('event', 'Cybernautic Phone Call - ' + url.replace('tel:', '')); 208 209 gtag('event', 'conversion', { 210 'send_to': 'AW-741498084/ihNzCK_6__wDEOS5yeEC', 211 'event_callback': function() { 212 213 console.log("Conversion report: ihNzCK_6__wDEOS5yeEC"); 214 215 } 216 }); 217 218 } else { 219 console.warn("Conversion report blocked by browser."); 220 } 221 222}); 223 224// Google Audience Builder (Button Click Conversions) -------------------------------------------------------------------- / 225 226$("body").on("click", "[data-conversion-id]", function(e) { 227 228 var url = typeof($(this).attr("href")) != "undefined" ? $(this).attr("href") : false;
229 230 if(typeof(gtag) == "function" && typeof(window.google_tag_manager) != "undefined") { 231 232 if(url) { e.preventDefault(); } 233 234 var conversion_id = $(this).data("conversion-id"); 235 236 gtag('event', 'conversion', { 237 'send_to': 'AW-741498084/' + conversion_id, 238 'event_callback': function() { 239 240 console.log("Conversion report: " + conversion_id); 241 242 if(url) { window.location.href = url; } 243 244 } 245 }); 246 247 return false; 248 249 } else { 250 console.warn("Conversion report blocked by browser."); 251 } 252 253}); 254 255} catch(e) { console.error(e); }
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.