Skip to content

Commit

Permalink
Add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Nov 6, 2023
1 parent 8e35ecd commit 25aa3db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ app chatApp {
"<meta property='og:url' content='' />",
"<meta property='og:description' content='Captn AI product page' />",
"<meta property='og:image' content='src/client/static/captn-logo-large.png' />",
"<script type='text/javascript'> (function(l) { if (l.search[1] === '/' ) { var decoded = l.search.slice(1).split('&').map(function(s) { return s.replace(/~and~/g, '&') }).join('?'); window.history.replaceState(null, null, l.pathname.slice(0, -1) + decoded + l.hash ); } }(window.location)) </script>"
"<script type='text/javascript'> (function(l) { if (l.search[1] === '/' ) { var decoded = l.search.slice(1).split('&').map(function(s) { return s.replace(/~and~/g, '&') }).join('?'); window.history.replaceState(null, null, l.pathname.slice(0, -1) + decoded + l.hash ); } }(window.location)) </script>",
"<script async src='https://www.googletagmanager.com/gtag/js?id=G-NQN20RRZVD'></script>",
"<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-NQN20RRZVD');</script>",
// you can put your google analytics script here, too!
],
// 🔐 Auth out of the box! https://wasp-lang.dev/docs/auth/overview
Expand Down

0 comments on commit 25aa3db

Please sign in to comment.