Skip to content

Commit 504a763

Browse files
committed
Removed Yammer Analytics & added my own
1 parent b460027 commit 504a763

File tree

1 file changed

+12
-31
lines changed

1 file changed

+12
-31
lines changed

templates/base.html

+12-31
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,6 @@
1717
});
1818
</script>
1919

20-
<script type="text/javascript">
21-
22-
var _gaq = _gaq || [];
23-
_gaq.push(['_setAccount', 'UA-24830730-1']);
24-
_gaq.push(['_trackPageview']);
25-
26-
(function() {
27-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30-
})();
31-
32-
</script>
33-
3420

3521
</head>
3622
<body>
@@ -44,24 +30,19 @@
4430
{% endblock %}
4531

4632
<script type="text/javascript">
47-
var _sf_async_config={uid:26650,domain:"yammerwall.appspot.com"};
48-
(function(){
49-
function loadChartbeat() {
50-
window._sf_endpt=(new Date()).getTime();
51-
var e = document.createElement('script');
52-
e.setAttribute('language', 'javascript');
53-
e.setAttribute('type', 'text/javascript');
54-
e.setAttribute('src',
55-
(("https:" == document.location.protocol) ? "https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" : "http://static.chartbeat.com/") +
56-
"js/chartbeat.js");
57-
document.body.appendChild(e);
58-
}
59-
var oldonload = window.onload;
60-
window.onload = (typeof window.onload != 'function') ?
61-
loadChartbeat : function() { oldonload(); loadChartbeat(); };
62-
})();
6333

64-
</script>
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', 'UA-25461006-1']);
36+
_gaq.push(['_trackPageview']);
37+
38+
(function() {
39+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
42+
})();
43+
44+
</script>
45+
6546
</body>
6647

6748
</html>

0 commit comments

Comments
 (0)