Skip to content

Commit

Permalink
Merge pull request #3 from guivaloz/main
Browse files Browse the repository at this point in the history
Google Analytics
  • Loading branch information
guivaloz authored Mar 15, 2024
2 parents c52d1d5 + a003477 commit a072c96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions themes/justiciadigital/templates/google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5R91482PQ1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-5R91482PQ1');
</script>
1 change: 1 addition & 0 deletions themes/justiciadigital/templates/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<header>
{% include 'google-analytics.html' %}
<div class="container">
<div class="d-flex flex-column flex-md-row align-items-center pb-3 my-2 border-bottom">
<a href="/" class="d-flex align-items-center link-body-emphasis text-decoration-none">
Expand Down

0 comments on commit a072c96

Please sign in to comment.