From ab3df1797f325b24e743fb3fcc1b2a8dd22c5258 Mon Sep 17 00:00:00 2001 From: Kartheek Palla Date: Wed, 13 Mar 2019 19:24:51 +0530 Subject: [PATCH] Issue #SB-0000 fix: telemetry start event issue --- app/scripts/contenteditor/service/telemetry-service.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/scripts/contenteditor/service/telemetry-service.js b/app/scripts/contenteditor/service/telemetry-service.js index d1957a3d..93c27818 100644 --- a/app/scripts/contenteditor/service/telemetry-service.js +++ b/app/scripts/contenteditor/service/telemetry-service.js @@ -357,7 +357,12 @@ org.ekstep.services.telemetryService = new (org.ekstep.services.iService.extend( // fp.get(function (result) { // config.did = result.toString() // }) - instance.logStartAndImpression(config, durartion) + if(!EkTelemetry.fingerPrintId){ + EkTelemetry.getFingerPrint(function(result, components) { + EkTelemetry.fingerPrintId = result; + instance.logStartAndImpression(config, durartion) + }) + } } window.addEventListener('unload', /* istanbul ignore next */ function () { instance.end()