Skip to content

Commit 3da2587

Browse files
author
Julia Elman
committed
Adding analytics so we can track and stuff.
1 parent d08aa5a commit 3da2587

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pythonkc_site/templates/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,16 @@ <h1>FOLLOW US</h1>
176176
pykc.init( {{ next_event.venue.lat|default:past_events.0.venue.lat|default:-34.397 }}, {{ next_event.venue.lon|default:past_events.0.venue.lon|default:150.644 }});
177177
});
178178
</script>
179+
<script type="text/javascript">
180+
var _gaq = _gaq || [];
181+
_gaq.push(['_setAccount', 'UA-25628613-1']);
182+
_gaq.push(['_trackPageview']);
183+
184+
(function() {
185+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
186+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
187+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
188+
})();
189+
</script>
179190
</body>
180191
</html>

0 commit comments

Comments
 (0)