var mi_version = '7.16.0'; var mi_track_user = true; var mi_no_track_reason = ''; var disableStr = 'ga-disable-UA-76048901-2'; /* Function to detect opted out users */ function __gtagTrackerIsOptedOut() { return document.cookie.indexOf( disableStr + '=true' ) > - 1; } /* Disable tracking if the opt-out cookie exists. */ if ( __gtagTrackerIsOptedOut() ) { window[disableStr] = true; } /* Opt-out function */ function __gtagTrackerOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } if ( 'undefined' === typeof gaOptout ) { function gaOptout() { __gtagTrackerOptout(); } } window.dataLayer = window.dataLayer || []; if ( mi_track_user ) { function __gtagTracker() { dataLayer.push( arguments ); } __gtagTracker( 'js', new Date() ); __gtagTracker( 'set', { 'developer_id.dZGIzZG' : true, }); __gtagTracker( 'config', 'UA-76048901-2', { forceSSL:true,anonymize_ip:true, } ); window.gtag = __gtagTracker; ( function () { /* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */ /* ga and __gaTracker compatibility shim. */ var noopfn = function () { return null; }; var noopnullfn = function () { return null; }; var Tracker = function () { return null; }; var p = Tracker.prototype; p.get = noopfn; p.set = noopfn; p.send = noopfn; var __gaTracker = function () { var len = arguments.length; if ( len === 0 ) { return; } var f = arguments[len - 1]; if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { if ( 'send' === arguments[0] ) { if ( 'event' === arguments[1] ) { __gtagTracker( 'event', arguments[3], { 'event_category': arguments[2], 'event_label': arguments[4], 'value': 1 } ); return; } if ( 'undefined' !== typeof ( arguments[1].hitType ) ) { var hitDetails = {}; var gagtag_map = { 'eventCategory': 'event_category', 'eventAction': 'event_action', 'eventLabel': 'event_label', 'eventValue': 'event_value', 'nonInteraction': 'non_interaction', 'timingCategory': 'event_category', 'timingVar': 'name', 'timingValue': 'value', 'timingLabel': 'event_label', }; var gaKey; for ( gaKey in gagtag_map ) { if ( 'undefined' !== typeof arguments[1][gaKey] ) { hitDetails[gagtag_map[gaKey]] = arguments[1][gaKey]; } } var action = 'timing' === arguments[1].hitType ? 'timing_complete' : arguments[1].eventAction; __gtagTracker( 'event', action, hitDetails ); } } return; } try { f.hitCallback(); } catch ( ex ) { } }; __gaTracker.create = function () { return new Tracker(); }; __gaTracker.getByName = noopnullfn; __gaTracker.getAll = function () { return []; }; __gaTracker.remove = noopfn; __gaTracker.loaded = true; window['__gaTracker'] = __gaTracker; } )(); } else { console.log( "" ); ( function () { function __gtagTracker() { return null; } window['__gtagTracker'] = __gtagTracker; window['gtag'] = __gtagTracker; } )(); }