From 366806f6fa473fa8be9209088a1eedb484697a00 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Fri, 24 Nov 2023 17:28:25 +0100 Subject: [PATCH] Add google analytics --- hugo.toml | 4 +++- layouts/_default/baseof.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index e8aaef5..8c0ab26 100644 --- a/hugo.toml +++ b/hugo.toml @@ -10,11 +10,13 @@ enableRobotsTXT = true changeFreq = '' filename = 'sitemap.xml' priority = -1 +[services] + [services.googleAnalytics] + ID = 'G-FMD81GLKS3' [taxonomies] tag = 'tags' [params] formSpreeURL = 'https://formspree.io/f/xoqpgyge' - googleAnalyticsURL = 'G-FMD81GLKS3' dateFormat = '02 January 2006' defaultDescription = 'Personal website of Hazem Krimi' defaultKeywords = 'Hazem Krimi, Software Engineer, Software Developer, Full Stack Developer, JavaScript, TypeScript, React, Node.js, Scala, Kotlin, Corda, SQL, GraphQL, MongoDB' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f0aaf75..5313d26 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -75,5 +75,6 @@ {{ partial "footer.html" . }} + {{ template "_internal/google_analytics.html" . }} \ No newline at end of file