|
1 | | -(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script");r.type="text/javascript"; |
2 | | -r.async=true;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.4.1-min.gz.js"; |
3 | | -r.onload=function(){if(e.amplitude.runQueuedFunctions){e.amplitude.runQueuedFunctions(); |
4 | | -}else{console.log("[Amplitude] Error: could not load SDK")}};var i=t.getElementsByTagName("script")[0]; |
5 | | -i.parentNode.insertBefore(r,i);function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0))); |
6 | | -return this}}var o=function(){this._q=[];return this};var a=["add","append","clearAll","prepend","set","setOnce","unset"]; |
7 | | -for(var u=0;u<a.length;u++){s(o,a[u])}n.Identify=o;var c=function(){this._q=[];return this; |
8 | | -};var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"]; |
9 | | -for(var p=0;p<l.length;p++){s(c,l[p])}n.Revenue=c;var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","logEventWithTimestamp","logEventWithGroups"]; |
10 | | -function v(e){function t(t){e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0))); |
11 | | -}}for(var n=0;n<d.length;n++){t(d[n])}}v(n);n.getInstance=function(e){e=(!e||e.length===0?"$default_instance":e).toLowerCase(); |
12 | | -if(!n._iq.hasOwnProperty(e)){n._iq[e]={_q:[]};v(n._iq[e])}return n._iq[e]};e.amplitude=n; |
13 | | -})(window,document); |
| 1 | +(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script") |
| 2 | +;r.type="text/javascript";r.async=true |
| 3 | +;r.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-3.4.1-min.gz.js" |
| 4 | +;r.onload=function(){if(e.amplitude.runQueuedFunctions){ |
| 5 | +e.amplitude.runQueuedFunctions()}else{ |
| 6 | +console.log("[Amplitude] Error: could not load SDK")}} |
| 7 | +;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i) |
| 8 | +;function o(e,t){e.prototype[t]=function(){ |
| 9 | +this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}} |
| 10 | +var s=function(){this._q=[];return this} |
| 11 | +;var a=["add","append","clearAll","prepend","set","setOnce","unset"] |
| 12 | +;for(var u=0;u<a.length;u++){o(s,a[u])}n.Identify=s;var c=function(){this._q=[] |
| 13 | +;return this} |
| 14 | +;var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"] |
| 15 | +;for(var p=0;p<l.length;p++){o(c,l[p])}n.Revenue=c |
| 16 | +;var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","logEventWithTimestamp","logEventWithGroups"] |
| 17 | +;function v(e){function t(t){e[t]=function(){ |
| 18 | +e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}} |
| 19 | +for(var n=0;n<d.length;n++){t(d[n])}}v(n);n.getInstance=function(e){ |
| 20 | +e=(!e||e.length===0?"$default_instance":e).toLowerCase() |
| 21 | +;if(!n._iq.hasOwnProperty(e)){n._iq[e]={_q:[]};v(n._iq[e])}return n._iq[e]} |
| 22 | +;e.amplitude=n})(window,document); |
0 commit comments