Kill analytics.

master
Nick Sergeant 2016-11-01 17:05:35 -04:00
parent da3d8050e7
commit ca8d6e4281
2 changed files with 0 additions and 74 deletions

View File

@ -1,20 +1,4 @@
{% if not debug %}
<script>
+function(l,y,t,i,c,s) {
l['LocalyticsGlobal'] = i;
l[i] = function() { (l[i].q = l[i].q || []).push(arguments) };
l[i].t = +new Date;
(s = y.createElement(t)).type = 'text/javascript';
s.src = '//web.localytics.com/v3/localytics.js';
(c = y.getElementsByTagName(t)[0]).parentNode.insertBefore(s, c);
ll('init', 'a62d3f2d950818261a89f2f-70c7cac4-2c9f-11e5-de49-00f078254409', {
trackPageView: true
} /* Options */);
{% if request.user.is_authenticated and not debug %}
ll('setCustomerID', '{{ request.user.username }}');
{% endif %}
}(window, document, 'script', 'll');
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
@ -33,37 +17,6 @@
})();
</script>
<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4ed65ee7f5a1f530f1000001');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
{% if blog_user.profile.gauges_site_id %}
<script type="text/javascript">
(function() {
setTimeout(function() {
window._gauges = [];
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '{{ blog_user.profile.gauges_site_id }}');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
}, 1000);
})();
</script>
{% endif %}
{% else %}
<script>
window.ll = function() {};

View File

@ -450,33 +450,6 @@
Email <a href="mailto:support@snipt.net">support@snipt.net</a>.
</div>
{% if not debug %}
<!-- Start of Async Drift Code -->
<script>
!function() {
var t;
if (t = window.driftt = window.drift = window.driftt || [], !t.init) return t.invoked ? void (window.console && console.error && console.error("Drift snippet included twice.")) : (t.invoked = !0,
t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ],
t.factory = function(e) {
return function() {
var n;
return n = Array.prototype.slice.call(arguments), n.unshift(e), t.push(n), t;
};
}, t.methods.forEach(function(e) {
t[e] = t.factory(e);
}), t.load = function(t) {
var e, n, o, i;
e = 3e5, i = Math.ceil(new Date() / e) * e, o = document.createElement("script"),
o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + i + "/" + t + ".js",
n = document.getElementsByTagName("script")[0], n.parentNode.insertBefore(o, n);
});
}();
drift.SNIPPET_VERSION = '0.3.0'
drift.load('bx8pi58c2e5h')
</script>
<!-- End of Async Drift Code -->
{% endif %}
{% include 'analytics.html' %}
<script type="text/javascript">{% block analytics %}{% endblock %}</script>