- Fix UserID
This commit is contained in:
parent
9f749acba1
commit
52edd61675
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@
|
|||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-148734400-1');
|
||||
|
||||
@auth
|
||||
gtag('set', {'user_id': '{{ Auth::user()->matricule }}'}); // Définir l'ID utilisateur à partir du paramètre user_id de l'utilisateur connecté.
|
||||
@endauth
|
||||
|
||||
gtag('config', 'UA-148734400-1');
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue