update google-analytics
This commit is contained in:
parent
4147505951
commit
600514bbc5
@ -12,7 +12,7 @@ paginate = 2 # see https://gohugo.io/extras/pagination/
|
|||||||
# post excerpt
|
# post excerpt
|
||||||
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
|
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
|
||||||
# google analytics
|
# google analytics
|
||||||
googleAnalytics = "UA-123456-78" # example: UA-123456-78, for more info, read the article https://support.google.com/analytics/answer/1008080?hl=en
|
googleAnalytics = "G-MEASUREMENT_ID" # see https://gohugo.io/templates/internal/#configure-google-analytics
|
||||||
# disqus short name
|
# disqus short name
|
||||||
disqusShortname = "themefisher-template" # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
|
disqusShortname = "themefisher-template" # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
|
||||||
# disable language
|
# disable language
|
||||||
|
@ -30,7 +30,9 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- google analytics -->
|
<!-- google analytics -->
|
||||||
|
{{ if and site.Config.Services.GoogleAnalytics.ID (ne site.Config.Services.GoogleAnalytics.ID "G-MEASUREMENT_ID") }}
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
<!-- google tag manager -->
|
<!-- google tag manager -->
|
||||||
|
Loading…
Reference in New Issue
Block a user