Files
eiblog/views/st_ana_js.js
deepzz0 ead9533be3 update
2016-10-02 00:11:15 +08:00

9 lines
511 B
JavaScript

{{define "ana_js"}}
! function(e, n, o, t) {
var a = e.screen,
r = encodeURIComponent,
i = ["tid=UA-77251712-1", "dl=" + r(n.URL), "dt=" + r(n.title), "dr=" + r(n.referrer), "dp=" + r(t.pathname), "ul=" + (o.language || o.browserLanguage).toLowerCase(), "sd=" + a.colorDepth + "-bit", "sr=" + a.width + "x" + a.height, "_=" + +new Date],
c = "?" + i.join("&");
e.__beacon_img = new Image, e.__beacon_img.src = "/beacon.html" + c }(window, document, navigator, location);
{{end}}