Skip to content

Commit

Permalink
Remove duplicated google script
Browse files Browse the repository at this point in the history
laravel-cookie-consent takes care of inserting it
  • Loading branch information
JoaquinTrinanes committed Jul 8, 2024
1 parent 57c0c93 commit bec7853
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

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

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down

0 comments on commit bec7853

Please sign in to comment.