From 61fafeb13565d7fd53a2162a262b7e697a1f1a2c Mon Sep 17 00:00:00 2001 From: Travis Gaff Date: Thu, 7 Sep 2023 15:30:08 +0900 Subject: [PATCH] basic GA4 support --- _includes/body/analytics.html | 74 +++++++++++++++++------------------ 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/_includes/body/analytics.html b/_includes/body/analytics.html index 20381b54943..db177adf8f9 100644 --- a/_includes/body/analytics.html +++ b/_includes/body/analytics.html @@ -1,43 +1,43 @@ {% if site.google_analytics %} - + w.loadJSDeferred('https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}'); + }(window, document); {% endif %}