/* global define */ var _gaq = _gaq || []; define([], function () { 'use strict'; (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' === document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); // Set up the account and automatically track the first page view. window._gaq.push(['_setAccount', 'UA-1410476-16']); window._gaq.push(['_trackPageview']); return { trackPageview: function () { return window._gaq.push(['_trackPageview', location.pathname + location.search]); } }; });