Skip to content

Commit ce61e8c

Browse files
committed
✨ Ajout de google analytics
1 parent fdba7ce commit ce61e8c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@production
2-
<!-- Google Analytics - beautiful, simple website analytics -->
3-
<script src="https://boom.laravel.io/script.js" data-site="UPHUDXHV" defer></script>
4-
<!-- / Google Analytics -->
2+
<!-- Global site tag (gtag.js) - Google Analytics -->
3+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J6PRLE9BBY"></script>
4+
<script>
5+
window.dataLayer = window.dataLayer || [];
6+
function gtag(){dataLayer.push(arguments);}
7+
gtag('js', new Date());
8+
9+
gtag('config', 'G-J6PRLE9BBY');
10+
</script>
511
@endproduction

0 commit comments

Comments
 (0)