As a headless app developer, I want to be able to record the same analytics events that dotCMS records natively, but send them from my headless app.
Right now, dotCMS automatically records certain types of events from within dotCMS. This includes events such as page URL hits, file URL hits, and URL Map hits. Future Content Analytics functionality, including reports and back-end displays, will be built to query for these specific, pre-defined events.
So, future queries to be able to report on headless app activity, headless apps need to be able to record the same events that the native dotCMS code records. We need an API which allows external apps to trigger recording of these pre-defined events.
Acceptance Criteria
The new endpoint may be hit to record any existing analytics event.
This includes Page hits, File hits, URL Map hits, and Vanity URL hits.
The new endpoint may be hit to record arbitrary event types.
So, for example, users may create their own user-defined event types, and record them via the endpoint.
Events recorded via the new endpoint are distinguished from native events via a new analytics event property: Event Source.
For events recorded from native dotCMS code, this value should automatically be set to the class name of the analytics collector.
For events recorded via the new endpoint, this value should automatically be set to the API path (e.g. /api/v1/analytics/endpointName).
Proposed Objective
Technical User Experience
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
Parent Issue
No response
User Story
As a headless app developer, I want to be able to record the same analytics events that dotCMS records natively, but send them from my headless app.
Right now, dotCMS automatically records certain types of events from within dotCMS. This includes events such as page URL hits, file URL hits, and URL Map hits. Future Content Analytics functionality, including reports and back-end displays, will be built to query for these specific, pre-defined events.
So, future queries to be able to report on headless app activity, headless apps need to be able to record the same events that the native dotCMS code records. We need an API which allows external apps to trigger recording of these pre-defined events.
Acceptance Criteria
/api/v1/analytics/endpointName
).Proposed Objective
Technical User Experience
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response