Japan
Asia
| var mi_version = '8.14.1'; | ||
| var mi_track_user = true; | ||
| var mi_no_track_reason = ''; | ||
| var disableStrs = [ | ||
| 'ga-disable-UA-46371820-2' | ||
| ]; | ||
| /* Function to detect opted out users */ | ||
| function __gtagTrackerIsOptedOut() { | ||
| for (var index = 0; index < disableStrs.length; index++) { | ||
| if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) { | ||
| return true; | ||
| } | ||
| } | ||
| return false; | ||
| } | ||
| /* Disable tracking if the opt-out cookie exists. */ | ||
| if (__gtagTrackerIsOptedOut()) { | ||
| for (var index = 0; index < disableStrs.length; index++) { | ||
| window[disableStrs[index]] = true; | ||
| } | ||
| } | ||
| /* Opt-out function */ | ||
| function __gtagTrackerOptout() { | ||
| for (var index = 0; index < disableStrs.length; index++) { | ||
| document.cookie = disableStrs[index] + '=true; expires=Thu | 31 Dec 2099 23:59:59 UTC; path=/'; | |
| window[disableStrs[index]] = true; | ||
| } | ||
| } | ||
| if ('undefined' === typeof gaOptout) { | ||
| function gaOptout() { | ||
| __gtagTrackerOptout(); | ||
| } | ||
| } | ||
| window.dataLayer = window.dataLayer || []; | ||
| window.MonsterInsightsDualTracker = { | ||
| helpers: {} | ||
| trackers: {} | ||
| }; | ||
| if (mi_track_user) { | ||
| function __gtagDataLayer() { | ||
| dataLayer.push(arguments); | ||
| } | ||
| function __gtagTracker(type | name | parameters) { |
| if (!parameters) { | ||
| parameters = {}; | ||
| } | ||
| if (parameters.send_to) { | ||
| __gtagDataLayer.apply(null | arguments); | |
| return; |