mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-29 15:54:05 -06:00
update dataLayer with git_branch
This commit is contained in:
parent
b486170763
commit
bdfcba2f10
@ -83,7 +83,7 @@
|
|||||||
</head>
|
</head>
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
<script>
|
<script>
|
||||||
ga('send', 'pageview', {
|
window.dataLayer.push({
|
||||||
'Branch': '{{ getenv "BRANCH" }}'
|
'git_branch': '{{ getenv "BRANCH" }}',
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user