Skip to content

Commit 0d1d467

Browse files
committed
fix: dont collect UA
1 parent 64c9e44 commit 0d1d467

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/basket/src/lib/event-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ export async function insertTrackEvent(
333333
title: sanitizeString(trackData.title, VALIDATION_LIMITS.STRING_MAX_LENGTH),
334334

335335
ip: anonymizedIP || '',
336-
user_agent:
337-
sanitizeString(userAgent, VALIDATION_LIMITS.STRING_MAX_LENGTH) || '',
336+
user_agent: '',
338337
browser_name: browserName || '',
339338
browser_version: browserVersion || '',
340339
os_name: osName || '',

0 commit comments

Comments
 (0)