Skip to content

Commit

Permalink
chore: GA script adding (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
phgrey authored Jul 24, 2023
1 parent a70577f commit c944e48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/moon_web/templates/layout/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@

<script defer type="text/javascript" src={~p"/assets/app.js"}>
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-S5KHVFW9Y7">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-S5KHVFW9Y7');
</script>
</head>
<body>
<%= @inner_content %>
Expand Down

0 comments on commit c944e48

Please sign in to comment.