mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
add branch dimensional data to GA
This commit is contained in:
parent
89ddc0d8f1
commit
b486170763
@ -30,4 +30,6 @@ enableGitInfo = true
|
||||
tabWidth = 4
|
||||
[markup.goldmark.renderer]
|
||||
unsafe= true
|
||||
|
||||
[security]
|
||||
[security.funcs]
|
||||
getenv = ['^HUGO_', '^BRANCH']
|
||||
|
||||
@ -82,3 +82,8 @@
|
||||
<!-- End Meta Pixel Code -->
|
||||
</head>
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
<script>
|
||||
ga('send', 'pageview', {
|
||||
'Branch': '{{ getenv "BRANCH" }}'
|
||||
});
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user