Skip to content

Event data not visible in UI #236

@cempa96

Description

@cempa96

I am tracking custom events using the script tag method with data-tianji-event attributes. While the event counts appear correctly in the dashboard, the custom data properties are nowhere to be found. The rows are not clickable, and there is no drill-down view or separate "Events" tab to analyze the captured data keys (e.g., filtering by store).

Steps to Reproduce

  1. Add the tracking script to a website.

  2. Create an element with event data attributes:

<a href="..."
   data-tianji-event="redirect"
   data-tianji-event-store="MyStore">
   Click me
</a>
  1. Click the element to trigger the event.

  2. Verify in the browser developer tools that the payload is sent correctly. Mine looks something like this:

{
  "type": "event",
  "payload": {
    "website": "",
    "hostname": "127.0.0.1",
    "screen": "1680x1050",
    "language": "en-US",
    "title": "",
    "url": "/",
    "referrer": "",
    "name": "redirect",
    "data": {
      "store": "MyStore"
    }
  }
}
  1. Open the Tianji Dashboard.

Expected Behavior
I expect to be able to click the event name ("redirect") to see a breakdown of the custom properties sent with it (e.g., a breakdown of store: MyStore, AnotherStore, etc.), similar to how other analytics tools (like Umami) handle event properties.

Actual Behavior
The dashboard shows the event "redirect" and the count of times it occurred.

  • The row is not clickable.
  • There is no "Details" view.
  • The custom data is not displayed anywhere in the UI.
Image

Environment

  • Installation method: Docker (via Dokploy template)
  • Version: Latest
  • Browser: Chrome/Brave. Have also tried Safari.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions