1/* 2 3 ââââââââââ ââââââââââ âââââââââââââââ ââââ âââ ââââââ âââ âââââââââââââââ âââââââ 4ââââââââââââ âââââââââââââââââââââââââââââââââ ââââââââââââââ âââââââââââââââââââââââ 5âââ âââââââ ââââââââââââââ ââââââââââââââ ââââââââââââââ âââ âââ ââââââ 6âââ âââââ ââââââââââââââ âââââââââââââââââââââââââââââ âââ âââ ââââââ 7ââââââââ âââ âââââââââââââââââââ ââââââ âââââââââ ââââââââââââ âââ âââââââââââ 8 âââââââ âââ âââââââ âââââââââââ ââââââ ââââââââ âââ âââââââ âââ âââ âââââââ 9 10*/ 11 12try { 13 14// Global Variables -------------------------------------------------------------------- / 15 16var SEO = { 17 "googleAnalytics": [ 18 "G-VS01VNCJPR" 19 ], 20 "googleWebmaster": "Xlm92_TfhZ0_VEhJE1wwbCMDRpgzPLzVuNsZ3HigeEE", 21 "metaDescription": "University Properties has been the trusted home renting agency since its founders graduated from Bradley themselves in 1985.", 22 "prefixTitleTagWithSiteTitle": "1", 23 "googleTagManager": [], 24 "facebookPixel": [] 25}; 26 27// Google Analytics -------------------------------------------------------------------- / 28 29window.dataLayer = window.dataLayer || []; 30if(typeof(window.gtag) != "function") { window.gtag = function() { dataLayer.push(arguments); } } 31gtag('js', new Date()); 32gtag('config', 'G-VS01VNCJPR'); 33 34// Form Conversions -------------------------------------------------------------------- / 35 36window.report_form_block_conversion = function(block_id) { 37 38 if(typeof(block_id) == "undefined") { 39 console.error("report_form_block_conversion(): No block ID."); 40 return false; 41 } 42 43 try { 44 45 if(typeof(fbq) == "function") { 46 fbq('track', 'Lead'); 47 } 48 49 } catch(e) {} 50 51 var ga_events = {"11":"Request Maintenance","17":"Contact","19":"Student Info Sheet","20":"Request Viewing","27":"Inspection Form - Original","31":"Request Keys For Move In","35":"Send End of Lease Info","37":"Request Keys for Move In"}; 52 53 if(typeof(ga_events[block_id]) != "undefined") { 54 55 if(typeof(gtag) == "function") { 56 57 var ga_event = 'Cybernautic Form Submit - ' + ga_events[block_id]; 58 59 gtag('event', ga_event); 60 61 } else { 62 console.warn("Conversion report blocked by browser."); 63 } 64 65 } else { 66 console.error("report_form_block_conversion(): No ga event for this block ID (" + block_id + ")."); 67 } 68 69 70 return false; 71 72} 73 74// Custom Analytics Trackers -------------------------------------------------------------------- / 75 76window.report_custom_analytics_trackers = function() { 77 78 try { 79 80 if(typeof(window.report_gtag_page_view) == "function") { 81 report_gtag_page_view(); 82 } 83 84 } catch(e) {} 85 86 try { 87 88 if(typeof(ga) == "function") { 89 90 ga('set', 'location', window.location.href); 91 ga('send', 'pageview'); 92 93 } 94 95 } catch(e) {} 96 97 try { 98 99 var _hsq = window._hsq = window._hsq || []; 100 _hsq.push(['trackPageView']); 101 102 } catch(e) {} 103 104 try { 105 106 if(typeof(fbq) == "function") { 107 108 fbq('track', 'PageView'); 109 110 } 111 112 } catch(e) {} 113 114} 115 116// Phone Links (Links Click Conversions) -------------------------------------------------------------------- / 117 118$("body").on("click", "a[href^='tel:']", function(e) { 119 120 var url = typeof($(this).attr("href")) != "undefined" ? $(this).attr("href") : false;
121 122 if(typeof(gtag) == "function") { 123 124 gtag('event', 'Cybernautic Phone Call - ' + url.replace('tel:', '')); 125 126 } else { 127 console.warn("Conversion report blocked by browser."); 128 } 129 130}); 131 132} 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.