diff --git a/_config.yml b/_config.yml
index f6f3080..71b785a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -93,9 +93,9 @@ social:
# Analytics
analytics:
- provider : plausible # false (default), "google", "google-universal", "custom", "plausible"
+ provider : google # false (default), "google", "google-universal", "custom", "plausible"
google:
- tracking_id : ""
+ tracking_id : "G-0ZPVV6GNEY"
plausible:
domain : "camilo-cf.github.io"
api_host : "https://plausible.io"
diff --git a/_includes/analytics-providers/google.html b/_includes/analytics-providers/google.html
index 57554b6..54f812a 100644
--- a/_includes/analytics-providers/google.html
+++ b/_includes/analytics-providers/google.html
@@ -1,11 +1,20 @@
-
+
+
+{% if site.analytics.google.tracking_id %}
+ {% unless site.consent_banner.enabled %}
+
+
+
+ {% else %}
+
+
+ {% endunless %}
+{% endif %}
diff --git a/_includes/head/custom.html b/_includes/head/custom.html
index fee5d30..cc89989 100644
--- a/_includes/head/custom.html
+++ b/_includes/head/custom.html
@@ -2,6 +2,12 @@
+
+
+
+
+
+
@@ -24,15 +30,22 @@
-
-
-
+