From 29e8dd12a16f784b27327942e6b440ffcf595017 Mon Sep 17 00:00:00 2001 From: Manuel Tejada Date: Tue, 31 May 2022 09:01:14 +0200 Subject: [PATCH] fix: attribution error due to install conversion data failure --- packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx b/packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx index c64fa354c..4394ef283 100644 --- a/packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx +++ b/packages/plugins/plugin-appsflyer/src/AppsflyerPlugin.tsx @@ -85,7 +85,7 @@ export class AppsflyerPlugin extends DestinationPlugin { }, }; - if (JSON.parse(is_first_launch) === true) { + if (is_first_launch && JSON.parse(is_first_launch) === true) { if (af_status === 'Non-organic') { this.analytics?.track('Install Attributed', properties); } else {