This commit is contained in:
Liam
2025-04-28 20:18:46 +08:00
parent cf0f35e274
commit 51e168ee3b

View File

@@ -136,8 +136,8 @@ export async function GET(request: NextRequest) {
// Determine activity (event_type)
const activity = eventWithFullPath.event_type || '';
// Client ID (possibly part of visitor_id)
const clientId = eventWithFullPath.visitor_id?.split('-')[0] || 'undefined';
// 修改使用link_label替代visitor_id作为clientId
const clientId = eventWithFullPath.link_label || 'undefined';
// Original path - 修正使用link_original_url作为原始URL来源
const originPath = eventWithFullPath.link_original_url || 'undefined';