update dataLayer with git_branch

This commit is contained in:
Matthew Wong 2022-08-30 18:22:00 -04:00
parent b486170763
commit bdfcba2f10

View File

@ -83,7 +83,7 @@
</head>
{{ template "_internal/google_analytics.html" . }}
<script>
ga('send', 'pageview', {
'Branch': '{{ getenv "BRANCH" }}'
window.dataLayer.push({
'git_branch': '{{ getenv "BRANCH" }}',
});
</script>