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