remove all google analytics stuff from page templates

This commit is contained in:
Chris Johnston 2019-07-15 23:27:37 -07:00 committed by Peter Wu
parent 5cc0b8854d
commit afda6f9f66
2 changed files with 0 additions and 22 deletions

View File

@ -49,16 +49,5 @@
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p> <p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer> </footer>
</div> </div>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body> </body>
</html> </html>

View File

@ -43,16 +43,5 @@
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p> <p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer> </footer>
</div> </div>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body> </body>
</html> </html>