Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create IIFE Library for PageView Tracking and DotCMS Event Transmission #30711

Open
oidacra opened this issue Nov 19, 2024 · 0 comments
Open

Comments

@oidacra
Copy link
Member

oidacra commented Nov 19, 2024

Parent Issue

No response

User Story

As a developer, I want to have a configurable IIFE library for tracking page views and sending events to DotCMS, so I can easily implement analytics tracking across different DotCMS sites with custom authentication tokens and settings.

Acceptance Criteria

  • Create an IIFE library that automatically executes when loaded
  • Implement required configuration options:
    • Authentication token
    • Endpoint URL (optional, with default)
    • Custom event properties
    • Tracking options (enable/disable specific features)
  • Implement pageview tracking functionality
  • Include event transmission capability to DotCMS
  • Provide minified and unminified versions of the library
  • Include documentation for implementation and usage
  • Support common browser environments
  • Handle error cases gracefully
  • Provide callback options for success/failure of event transmission

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Assumptions & Initiation Needs

  • DotCMS API endpoint for event reception must be available and documented
  • Browser compatibility requirements need to be defined (IE11+, modern browsers)
  • Event structure and payload format should be specified
  • Token generation and management process must comes from the Analytics APP

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next 1-3 Sprints
Development

No branches or pull requests

1 participant