-
Notifications
You must be signed in to change notification settings - Fork 177
Description
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
-
Add the tracking script to a website.
-
Create an element with event data attributes:
<a href="..."
data-tianji-event="redirect"
data-tianji-event-store="MyStore">
Click me
</a>
-
Click the element to trigger the event.
-
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"
}
}
}
- 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.
Environment
- Installation method: Docker (via Dokploy template)
- Version: Latest
- Browser: Chrome/Brave. Have also tried Safari.