Skip to content

Commit

Permalink
feat(analytics): track user scheme and theme (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland authored Sep 5, 2024
1 parent 7588b5d commit 7d4c9ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/components/head-analytics.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
$props = [
'isAuthenticated' => auth()->check(),
'scheme' => request()->cookie('scheme') ?: 'dark',
'theme' => request()->cookie('theme') ?: 'default',
];
// Define regex patterns to extract props from the URL.
Expand Down

0 comments on commit 7d4c9ad

Please sign in to comment.