From c49fa721ec2d7758a0bda987c1e7c4e84ca6fde0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 14 Oct 2016 22:10:01 -0400 Subject: [PATCH] layouts/_default/baseof.html: Add support for Google Analytics Sites only need to add their Google Analytics tracking ID to their config: googleAnalytics = "UA-123-45" This uses the async version of the Google Analytics code. --- layouts/_default/baseof.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bd4c3b2..214865a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,8 @@ {{ "" | safeHTML }} + + {{ template "_internal/google_analytics_async.html" . }}