We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19cfb80 + ff565da commit e0bd349Copy full SHA for e0bd349
layouts/partials/head.html
@@ -42,11 +42,7 @@
42
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
43
{{ end }}
44
45
- {{ if .Site.GoogleAnalytics }}
46
- {{ if .Site.Params.googleAnalyticsAsync }}
47
- {{ template "_internal/google_analytics_async.html" . }}
48
- {{ else }}
+ {{ if .Site.Config.Services.GoogleAnalytics.ID }}
49
{{ template "_internal/google_analytics.html" . }}
50
51
- {{ end }}
52
</head>
0 commit comments