Skip to content

Commit 2393494

Browse files
committed
Add google analytics script
1 parent 53d01ad commit 2393494

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

resources/views/home.blade.php

+10
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,15 @@
5353
</footer>
5454

5555
@livewireScripts
56+
57+
<script>
58+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
59+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
60+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
61+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
62+
ga('create', 'UA-58380511-2', 'auto');
63+
ga('send', 'pageview');
64+
</script>
65+
5666
</body>
5767
</html>

0 commit comments

Comments
 (0)