mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Add abbility to use Google Tag Manager for analytics (#514)
* Add ability to embed custom code to <head> * add myself to CONTRIBUTORS.md * implement dedicated template for Google Tag Manager * move google tag manager to bottom of the body tag
This commit is contained in:
@@ -87,6 +87,10 @@ disqusShortname = "yourdiscussshortname"
|
||||
# For cloud-hosting, use provided URL, e.g. example.matomo.cloud
|
||||
serverURL = "analytics.example.com"
|
||||
|
||||
# If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section
|
||||
[params.googleTagManager]
|
||||
id = "gid"
|
||||
|
||||
# If you want to implement a Content-Security-Policy, add this section
|
||||
[params.csp]
|
||||
childsrc = ["'self'"]
|
||||
|
||||
Reference in New Issue
Block a user