Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 21, 2024
1 parent 454b4d3 commit 4027d11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@
],
],

'google_analytics_tracking_id' => env('GOOGLE_ANALYTICS_TRACKING_ID'),

];
2 changes: 1 addition & 1 deletion resources/views/components/site/analytics.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@props(['id' => config('services.google_analytics_id')])
@props(['id' => config('services.google_analytics_tracking_id')])

@if ($id)
<script async src="https://www.googletagmanager.com/gtag/js?id={{ $id }}"></script>
Expand Down

0 comments on commit 4027d11

Please sign in to comment.