mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 11:04:52 -04:00
Add branch to GA config
This commit is contained in:
parent
99caedb965
commit
f30083a232
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user