Task
Implement queue persistence mechanism for the Analytics SDK to work correctly on traditional web pages (server-side rendered pages from dotCMS). Currently, when navigating between traditional pages, the in-memory queue is lost because page reloads clear the memory state.
Technical Approach
- Integrate sessionStorage with the existing queue implementation
- Configure optimized default queue items and wait times for traditional page scenarios
- Ensure seamless operation across page navigations in server-rendered contexts
Acceptance Criteria
Proposed Objective
Same as Parent Issue
Proposed Priority
Same as Parent Issue
Assumptions & Initiation Needs
- Analytics SDK library already has queue implementation for SPAs
- sessionStorage API is available in target browsers
- Queue serialization/deserialization logic needs to be implemented
Task
Implement queue persistence mechanism for the Analytics SDK to work correctly on traditional web pages (server-side rendered pages from dotCMS). Currently, when navigating between traditional pages, the in-memory queue is lost because page reloads clear the memory state.
Technical Approach
Acceptance Criteria
Proposed Objective
Same as Parent Issue
Proposed Priority
Same as Parent Issue
Assumptions & Initiation Needs