This repository was archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalytics.html
More file actions
21 lines (18 loc) · 1.49 KB
/
Copy pathanalytics.html
File metadata and controls
21 lines (18 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-126203943-1', 'auto');
ga("require","SegmentStream"),function(){var e=window[window.GoogleAnalyticsObject||"ga"];e&&e("provide","SegmentStream",function(e){var r,a,t=e.get("sendHitTask"),n=(r=["ym_uid","_ga","ssaid","_fbp","_fbc","tmr_lvi"],a="https://track.segmentstream.com/ds/67eae52f-0b6f-4b17-8607-4839c3c0bad2",{send:function(e){var t=document.cookie.split(";").reduce(function(e,t){var n=t.split("=").map(function(e){return e.trim()}),i=n[0];return-1===r.indexOf(i)?e:(e?e+"&":"")+"cookie["+i+"]="+n[1]},"");t.length&&(e+=(e?"&":"")+t);var n,i=!1;if(e.length<=2036&&(i=o(e)),i||"function"!=typeof navigator.sendBeacon||(i=navigator.sendBeacon(a,e)),!i)try{window.XMLHttpRequest&&"withCredentials"in(n=new XMLHttpRequest)&&(n.open("POST",a,!0),n.setRequestHeader("Content-Type","text/plain"),n.send(e),i=!0)}catch(e){}return i=i||o(e)}});function o(e){try{return document.createElement("img").src=a+"?"+e,!0}catch(e){}return!1}e.set("sendHitTask",function(e){try{t(e)}catch(e){}n.send(e.get("hitPayload"))})})}();
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</heead>
<body>
Test
</body>
</html>