Remove analytics

This commit is contained in:
Santiago Lo Coco 2022-02-12 19:12:48 -03:00
parent 538e34777c
commit 07dff1c990
2 changed files with 0 additions and 12 deletions

View File

@ -43,7 +43,6 @@ work_url:
contact_note:
google_analytics:
google_site_verification:
# -----------------------------------------------------------------------------
@ -133,8 +132,6 @@ imagemagick:
# Optional Features
# -----------------------------------------------------------------------------
enable_google_analytics: false
enable_panelbear_analytics: false
enable_google_verification: false
enable_masonry: true
enable_math: false

View File

@ -1,9 +0,0 @@
{%- if site.enable_google_analytics -%}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>
{%- endif -%}