디퍼드 딥링크에서 매칭이 0으로 나오는 문제 수정
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user