Skip to content

Commit

Permalink
Merge pull request #34 from eclipse-kura/feat/respect_consent
Browse files Browse the repository at this point in the history
feat: respect cookie consent
  • Loading branch information
pierantoniomerlino authored Jan 30, 2025
2 parents 14b3d22 + 7e21e57 commit 2134ff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/partials/googleanalytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
{{- else }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
<script>
if (document.cookie.valueOf('eclipse_cookieconsent_status').search("allow") > -1) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ . }}');
}
</script>
{{- end }}
{{- end }}
Expand Down
Empty file removed layouts/partials/nav_more.html
Empty file.

0 comments on commit 2134ff3

Please sign in to comment.