diff --git a/README.md b/README.md
index ad2c4e5..d3bea51 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,7 @@ paginate = 6
description = "Here is a description of your site."
metaDescription = ""
googleAnalytics = ""
+ googleTagManager = ""
customCSS = []
RSSLink = ""
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d54ba3b..481485f 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -15,6 +15,7 @@ canonifyurls = true
description = "Here is a description of your site."
metaDescription = ""
googleAnalytics = ""
+ googleTagManager = ""
customCSS = []
RSSLink = ""
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0718bae..8a63d63 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -27,5 +27,5 @@
{{ range .Site.Params.customCSS }} {{ end }}
{{ if .Site.Params.RSSLink}} {{else}}{{ if eq .URL "/" }} {{ end }} {{ end }}
-
+ {{ partial "js-head" . }}
diff --git a/layouts/partials/js-head.html b/layouts/partials/js-head.html
new file mode 100644
index 0000000..9f636c2
--- /dev/null
+++ b/layouts/partials/js-head.html
@@ -0,0 +1,10 @@
+{{ with .Site.Params.googleTagManager }}
+ {{ "" | safeHTML }}
+
+{{ end }}
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 6637a1e..e5f5557 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -13,3 +13,11 @@
s.parentNode.insertBefore(g,s)}(document,'script'));
{{ end }}
+
+{{ with .Site.Params.googleTagManager }}
+ {{ "" | safeHTML }}
+
+{{ end }}