Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Oct 1, 2024
1 parent 59ecdb3 commit 0e4ef55
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ return [
'sources' => [
\Elegantly\Referrer\Sources\UtmReferrerSource::class,
\Elegantly\Referrer\Sources\RequestHeaderSource::class,
\Elegantly\Referrer\Sources\GoogleClickIdSource::class,
\Elegantly\Referrer\Sources\MetaClickIdSource::class,
\Elegantly\Referrer\Sources\TikTokClickIdSource::class,
],

/*
Expand All @@ -63,19 +66,19 @@ return [
|
*/
'drivers' => [
\Elegantly\Referrer\Drivers\ContextDriver::class => [
'key' => null,
],
\Elegantly\Referrer\Drivers\SessionDriver::class => [
'key' => null,
],
\Elegantly\Referrer\Drivers\CookieDriver::class => [
'key' => null,
/**
* Lifetime in seconds
*/
'lifetime' => 60 * 60 * 24 * 365,
],
// \Elegantly\Referrer\Drivers\ContextDriver::class => [
// 'key' => 'referrer',
// ],
// \Elegantly\Referrer\Drivers\SessionDriver::class => [
// 'key' => 'referrer',
// ],
// \Elegantly\Referrer\Drivers\CookieDriver::class => [
// 'key' => Str::slug(env('APP_NAME', 'laravel'), '_').'referrer',
// /**
// * Lifetime in seconds
// */
// 'lifetime' => 60 * 60 * 24 * 365,
// ],
],
];
```
Expand Down

0 comments on commit 0e4ef55

Please sign in to comment.