1window.dataLayer = window.dataLayer || []; 2function gtag(){ 3 dataLayer.push(arguments); 4} 5 6if (!window.ga) { 7 window.ga = function (s, e, contentType, actionType, data) { 8 switch (actionType) { 9 case "read": 10 gtag('event', 'page_view', {'event_action': 'view', 'event_category': 'Page', 'im_event_name': 'page_view'}); 11 } 12 } 13} 14 15gtag('js', new Date()); 16 17cleanURL = GACleanUrl(window.location.href); 18canonicalURL = GAGetPathAndQuery(window.location.href); 19 20//OldalcÃm globális felülÃrása és qs paraméterek törlése 21gtag('set', 'page_title', GA_PageName); 22gtag('set', 'page_location', cleanURL); 23gtag('set', 'link_url', cleanURL); 24gtag('set', 'page_referrer', (document.referrer ? GACleanUrl(document.referrer) : '')); 25gtag('set', 'form_destination', cleanURL); 26 27//Site profil inicializálása 28gtag( 29 'config', 30 GA_MEASUREMENT_ID, 31 { 32 'MemberRight_ID': GA_MR_ID, 33 'Kliens_IP': GA_ClientIP, 34 'im_page_location': canonicalURL, 35 'send_page_view': false 36 }); 37 38if (window.GA_EventCategory && window.GA_EventAction && window.GA_EventLabel && window.GA_EventValue) { 39 //HÃr-olvasás esemény küldése a site profilnak 40 gtag( 41 'event', 42 (window.GA_EventCategory + '_' + window.GA_EventAction).toLowerCase(), 43 { 44 'event_action': window.GA_EventAction, 45 'event_category': window.GA_EventCategory, 46 'event_label': window.GA_EventLabel, 47 'title': window.GA_EventValue, 48 'im_page_location': GAGetPathAndQuery(window.location.href), 49 'im_event_name': (window.GA_EventCategory + '_' + window.GA_EventAction).toLowerCase() 50 } 51 ); 52 53 if ((window.GA_SUPERTRACKER_ID || "") != "") { 54 //HÃr-olvasás esemény küldése a portálszerver profilnak 55 gtag( 56 'event', 57 (window.GA_EventCategory + '_' + window.GA_EventAction).toLowerCase(), 58 { 59 'event_action': window.GA_EventAction, 60 'event_category': window.GA_EventCategory, 61 'im_event_name': (window.GA_EventCategory + '_' + window.GA_EventAction).toLowerCase(), 62 'MemberRight_ID': GA_MR_ID, 63 'Kliens_IP': GA_ClientIP, 64 'im_page_location': canonicalURL, 65 'send_to': GA_SUPERTRACKER_ID 66 }); 67 } 68} 69else { 70 //Oldalmegtekintés stat küldés egyéni paraméterekkel 71 gtag( 72 'event', 73 'page_view', 74 { 75 'event_action': 'view', 76 'event_category': 'Page', 77 'im_event_name': 'page_view' 78 }); 79 80 //Oldalmegtekintés stat küldése egyéni paraméterekkel a portálszerver profilnak 81 if ((window.GA_SUPERTRACKER_ID || "") != "") { 82 gtag( 83 'event', 84 'page_view', 85 { 86 'event_action': 'view', 87 'event_category': 'Page', 88 'im_event_name': 'page_view', 89 'MemberRight_ID': GA_MR_ID, 90 'Kliens_IP': GA_ClientIP, 91 'im_page_location': canonicalURL, 92 'send_to': GA_SUPERTRACKER_ID 93 }); 94 } 95}
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.