mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
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.
This commit is contained in:
parent
7272253613
commit
c49fa721ec
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
||||||
<link href="{{ .Site.RSSLink }}" type="application/rss+xml" rel="alternate">
|
<link href="{{ .Site.RSSLink }}" type="application/rss+xml" rel="alternate">
|
||||||
|
|
||||||
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user