Skip to content

Commit

Permalink
Remove Google Analytics code since we are not using it
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Jan 8, 2025
1 parent e2a4e34 commit 6e2d7f9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,5 @@ <h1>EditorConfig</h1>
</footer>
</div>
</div>

{% if jekyll.environment == "production" %}
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32136778-1']);
_gaq.push(['_setDomainName', 'editorconfig.org']);
_gaq.push(['_trackPageview']);

(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);
})();

</script>
{% endif%}
</body>
</html>

0 comments on commit 6e2d7f9

Please sign in to comment.