From abc1133c7e077d484e4c97f75cee8460a3004397 Mon Sep 17 00:00:00 2001
From: Eltjo <github@eltjoveninga.nl>
Date: Wed, 22 Jun 2022 14:50:56 +0000
Subject: [PATCH] Adds Azure Application Insights as a new analytics option (#692)

---
 layouts/_default/baseof.html |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d29d508..19df409 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -65,6 +65,10 @@
   {{- partial "analytics/googletagmanager" . -}}
   {{ end }}
 
+  {{ if and .Site.Params.applicationInsights .Site.Params.applicationInsights.connectionString }}
+    {{- partial "analytics/applicationinsights" . -}}
+  {{ end }}   
+
   {{- partial "body/extensions" . -}}
 </body>
 

--
Gitblit v1.10.0