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

Spike: Scope work needed to record analytics infra events via Java code #29476

Closed
2 of 5 tasks
Tracked by #29475
john-thomas-dotcms opened this issue Aug 6, 2024 · 1 comment
Closed
2 of 5 tasks
Tracked by #29475
Assignees

Comments

@john-thomas-dotcms
Copy link
Contributor

john-thomas-dotcms commented Aug 6, 2024

Parent Issue

#29475

Task

Currently, all events written to the analytics infrastructure (experiments events) are written via Javascript code inserted in the page.

However, for the Content Analytics feature, we will need to track some types of events that happen in the back-end Java code (as opposed to events that happen on the front-end page). For these events, we need to be able to:

  1. Call a Java method that records an event (or series of events).
  2. Call a Java method that retrieves a series of events via a query.
    • For example, one place this method might be used is in the implementation of a Velocity viewtool to query analytics infrastructure data.

This spike is to scope the work needed to implement Java methods to interact with the analytics infrastructure, for both write (recording new events) and read (querying events).

Proposed Objective

Same as Parent Issue

Proposed Priority

Same as Parent Issue

Acceptance Criteria

  • Create cards to cover all work required to implement Java methods that duplicate existing JS method functionality.

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

Tasks

  1. Merged NW Removed QA : Passed Internal Release : 24.10.09 Team : Falcon Type : New Functionality dotCMS : Analytics
    freddyDOTCMS
  2. Merged QA : Approved QA : Passed Internal Release : 24.10.08 Team : Falcon Type : New Functionality dotCMS : Analytics
  3. Team : Falcon Triage Type : New Functionality dotCMS : Analytics
  4. Team : Falcon Triage Type : New Functionality dotCMS : Analytics
  5. Team : Falcon Triage Type : New Functionality dotCMS : Analytics
@jdotcms
Copy link
Contributor

jdotcms commented Aug 22, 2024

Analytics core

we have think on two scenarios:

  1. intercepting a request (api, urls, etc via web interceptor)
  2. advising a piece of code (via annotation)

For 1 we need an issue to do the:
1.a) the matcher layer
1.b) collectors layer
1.c) broadcast abstraction/emitters layer
1.d) write some subscriber to send to jitsu

for 2 we need an issue to do the:

  1. the annotation
  2. integrate the method interceptor annotation to the mechanism described on update with latest SVN #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants