Finish and test posthog_js

Created on 5 December 2024, 5 months ago

Problem/Motivation

Posthog_js contains the basic functionality for client-side tracking.

It initialized Posthog and provides the Drupal.posthog object that the client can interact with.

Some general information on the structure and functionality:

  • Cookieless tracking should be supported by setting
  • Integrations like posthog_cookies / klaro should be able to disable tracking or fall back to cookieless tracking (if configured)
  • posthog_js_error_tracking allows tracking client-side user errors (like shown in console) for health monitoring
  • In a next step we'll need to connect the client-side tracking with the server-side tracking (if both are enabled): 📌 Identify same users client / server-side Active
  • ...

We have separate issues for the submodules, they should not be implemented here, just FYI!

Information you find useful, coming from outside, should please be directly added to the README.md of the submodule and / or the settings UI.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code (posthog_js)

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024