Created on 29 July 2023, over 1 year ago
Updated 22 May 2024, 6 months ago

Problem/Motivation

Identifying unique visitors among un authenticated users is difficult.

Steps to reproduce

Proposed resolution

Add two cookies:

  • _pk_id – 13 months (used to store a few details about the user such as the unique visitor ID)
  • _pk_ses – 30 minutes (short lived cookies used to temporarily store data for the visit)

The site's session cookie may have a session life longer than 30 minutes. There is a separate visitor session cookie for visitors reports.

Remaining tasks

  1. Rename visitors_id column to id
  2. Add visitor_id (varchar(32)) for unique visitor id
  3. Create cookie service to read cookies
  4. Log visitor id

User interface changes

API changes

Data model changes

Add one column to store the unique visitor id

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024