1var ga_events = []; 2var ga_event_cnpr_once = (function() { 3 var executed = {}; 4 return function(ob) { 5 if (executed.hasOwnProperty(ob.event_name)) { 6 return; 7 } 8 executed[ob.event_name] = true; 9 if (!ob.hasOwnProperty('event_params')) { 10 ga_event_cnpr({name: ob.event_name}); 11 } else { 12 ga_event_cnpr({name: ob.event_name, params: ob.event_params}); 13 } 14 }; 15})(); 16 17function ga_event_cnpr(e) { 18 if (typeof gtag == "undefined") { 19 ga_events.push(e); 20 return; 21 } 22 23 if (!e.hasOwnProperty('params')) { 24 gtag('event', e.name); 25 } else { 26 gtag('event', e.name, e.params); 27 } 28} 29$("#ate_accept_all_button, #vp_realy_ate_accept_all_button").click(function() { 30 var events = [...ga_events]; 31 for(var i = 0;i < events.length;i++) { 32 ga_event_cnpr(events[i]); 33 } 34 35 ga_events = []; 36});
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.