From 9ec1ba010bc114cd49ed5c268b781c68f64382aa Mon Sep 17 00:00:00 2001 From: Yair Dovrat Date: Tue, 11 Jun 2024 13:38:23 +0200 Subject: [PATCH] ZRZ-1324 mark ecommerce events conversion event by default --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index cccf06c..07534ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -165,6 +165,7 @@ export default async function (manager: Manager, settings: ComponentSettings) { }) manager.addEventListener('ecommerce', async event => { + event.payload.conversion = true // set ecommerce events as conversion events // count conversion events for 'seg' value countConversion(event) // order matters so engagement duration is set before dispatching the hit