Remove analytics
This commit is contained in:
parent
538e34777c
commit
07dff1c990
|
@ -43,7 +43,6 @@ work_url:
|
||||||
|
|
||||||
contact_note:
|
contact_note:
|
||||||
|
|
||||||
google_analytics:
|
|
||||||
google_site_verification:
|
google_site_verification:
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
@ -133,8 +132,6 @@ imagemagick:
|
||||||
# Optional Features
|
# Optional Features
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
enable_google_analytics: false
|
|
||||||
enable_panelbear_analytics: false
|
|
||||||
enable_google_verification: false
|
enable_google_verification: false
|
||||||
enable_masonry: true
|
enable_masonry: true
|
||||||
enable_math: false
|
enable_math: false
|
||||||
|
|
|
@ -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 -%}
|
|
Loading…
Reference in New Issue