diff --git a/src/Tracker.php b/src/Tracker.php index 7651fb6..1730764 100644 --- a/src/Tracker.php +++ b/src/Tracker.php @@ -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 = []; @@ -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