Skip to content

Commit

Permalink
feat(analytics): track user scheme and theme
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland committed Sep 2, 2024
1 parent ddad15a commit f66220b
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 f66220b

Please sign in to comment.