gauges-analytics.ejs 629 B

123456789101112131415161718
  1. <% if (theme.gauges_analytics){ %>
  2. <!-- Gaug.es Analytics -->
  3. <script type="text/javascript">
  4. var _gauges = _gauges || [];
  5. (function() {
  6. var t = document.createElement('script');
  7. t.type = 'text/javascript';
  8. t.async = true;
  9. t.id = 'gauges-tracker';
  10. t.setAttribute('data-site-id', '<%= theme.gauges_analytics %>');
  11. t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');
  12. t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js';
  13. var s = document.getElementsByTagName('script')[0];
  14. s.parentNode.insertBefore(t, s);
  15. })();
  16. </script>
  17. <!-- End Gaug.es Analytics -->
  18. <% } %>