fix(analytics): include username on page_generated events
Memind CI / Test, build, and release guards (pull_request) Successful in 5m34s

Umami creator labels read event_data.username; server events only sent
owner_label, so dashboards fell back to MindSpace UUID path segments.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-06 15:25:09 +08:00
parent 26846a0274
commit b300cb5e04
4 changed files with 35 additions and 2 deletions
+1
View File
@@ -280,6 +280,7 @@ test('generation events are attributed to raw identity and include analysis dime
assert.equal(requestBody.payload.id, 'user-123');
assert.deepEqual(requestBody.payload.data, expectPayload({
owner_id: 'user-123',
username: '张三',
owner_label: '张三',
owner_segment: 'plan:pro',
plan_type: 'pro',