Skip to content

Commit

Permalink
feat: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
dasundev committed Apr 6, 2024
1 parent 9bb7550 commit 11ffd0b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,15 @@
{{ $slot }}

@include('components.footer')

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

0 comments on commit 11ffd0b

Please sign in to comment.