디퍼드 딥링크에서 매칭이 0으로 나오는 문제 수정

This commit is contained in:
2026-08-03 16:22:51 +09:00
parent ac9fbf6264
commit 8cb67d52c0
4 changed files with 281 additions and 73 deletions
+4 -2
View File
@@ -287,6 +287,8 @@ export async function redirectRoutes(fastify: FastifyInstance) {
const fpLanguage = query?.fp_lang || acceptLanguage.split(',')[0]?.split(';')[0] || undefined;
const fpScreenWidth = query?.fp_sw ? parseInt(query.fp_sw, 10) : undefined;
const fpScreenHeight = query?.fp_sh ? parseInt(query.fp_sh, 10) : undefined;
const fpPlatform = query?.fp_platform || deviceType;
const fpPlatformVersion = query?.fp_pv || platformVersion;
// Insert click event with the pre-generated id (see above) so the row
// matches the lf_click value already placed on the redirect URL.
@@ -327,8 +329,8 @@ export async function redirectRoutes(fastify: FastifyInstance) {
language: fpLanguage,
screenWidth: fpScreenWidth,
screenHeight: fpScreenHeight,
platform: deviceType,
platformVersion,
platform: fpPlatform,
platformVersion: fpPlatformVersion,
};
await storeFingerprintForClick(clickId, fingerprintData);