From 44bfa600b98dc2a01908032f6ec514df003dcf26 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Thu, 28 Apr 2022 15:33:16 -0700 Subject: [PATCH] track app lifecycle events with segment --- .../Sources/Utils/EventTracking/EventTracker.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Utils/EventTracking/EventTracker.swift b/apple/OmnivoreKit/Sources/Utils/EventTracking/EventTracker.swift index 57544845b..fcc5f3159 100644 --- a/apple/OmnivoreKit/Sources/Utils/EventTracking/EventTracker.swift +++ b/apple/OmnivoreKit/Sources/Utils/EventTracking/EventTracker.swift @@ -27,8 +27,8 @@ private let segment: Analytics? = { let config = Configuration(writeKey: writeKey) .flushAt(20) // default is 20 - .trackApplicationLifecycleEvents(false) // default is true - .autoAddSegmentDestination(false) // default is true + .trackApplicationLifecycleEvents(true) // default is true + .autoAddSegmentDestination(true) // default is true .flushInterval(30) // default is 30 seconds .trackDeeplinks(true) // default is true