mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-28 01:08:52 +00:00
Add branch to GA config
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '{{ . }}');
|
||||
gtag('config', '{{ . }}', {'branch': '{{ getenv "BRANCH" }}'});
|
||||
|
||||
/**
|
||||
* Function that tracks a click on an outbound link in Analytics.
|
||||
|
||||
Reference in New Issue
Block a user