QuickTax/docs/_includes/google-analytics.html
2023-11-26 21:57:16 +08:00

10 lines
372 B
HTML

{% if site.google-analytics %}<script async src='https://www.google-analytics.com/analytics.js'></script>
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', '{{ site.google-analytics }}', 'auto');
ga('send', 'pageview');
}
</script>{% endif %}