mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 06:44:07 -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
|
tabWidth = 4
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe= true
|
unsafe= true
|
||||||
|
[security]
|
||||||
|
[security.funcs]
|
||||||
|
getenv = ['^HUGO_', '^BRANCH']
|
||||||
|
|||||||
@ -82,3 +82,8 @@
|
|||||||
<!-- End Meta Pixel Code -->
|
<!-- End Meta Pixel Code -->
|
||||||
</head>
|
</head>
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
<script>
|
||||||
|
ga('send', 'pageview', {
|
||||||
|
'Branch': '{{ getenv "BRANCH" }}'
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user