Skip to content

Commit

Permalink
Change cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schöps committed Feb 16, 2021
1 parent fd0064f commit e7e38c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Tracker
{
protected const COOKIE_NAME = 'tracker-visitor-id';
protected const COOKIE_NAME = 'lt_session';
protected const CACHE_PREFIX_AB_TESTS = 'tracker-ab-tests';

protected $goals = [];
Expand Down Expand Up @@ -114,7 +114,7 @@ protected function nextOption(ABTest $test)

protected function getVisitorKey()
{
return Cookie::get('tracker-visitor-id');
return Cookie::get(self::COOKIE_NAME);
}

protected function getVisitor() : ?Visitor
Expand Down

0 comments on commit e7e38c0

Please sign in to comment.