Skip to content

Commit

Permalink
Add GA4 analytics code (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Aug 10, 2023
1 parent 586288b commit a85c9e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _themes/sulu/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,13 @@ <h3>Table of Contents</h3>
g.async=true; g.src=u+'matomo.php'; s.parentNode.insertBefore(g,s);
})();
</script>

<script async src="https://www.googletagmanager.com/gtag/js?id=G-9684RGJSX7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-9684RGJSX7');
</script>
{%- endblock %}

0 comments on commit a85c9e2

Please sign in to comment.