Logging Conversions
Learn how to capture user context and log conversions to optimize upsell decisions.
Capturing Context
static func fetchContext(
flowName: String,
duration: Int,
customSignals: [CustomSignal] = [],
callback: @escaping ((Context) -> Void)
)fun fetchContext(
flowName: String,
durationS: Int = 3,
customSignals: CustomSignals = CustomSignals(),
callback: (RealWorldContext) -> Unit
)public void fetchContext(
String flowName,
int durationS,
CustomSignals customSignals,
Consumer<RealWorldContext> callback
)Future<int> fetchContext(
String flowName,
int duration,
Map<String, dynamic>? customSignals,
)public static void FetchContext(
string flowName,
ContextDelegate callback,
CustomSignals? customSignals = null,
int duration = 3
)Logging Outcomes
Decision-Making
Usage Example
Instant Context
Usage Example
Retrieving an Existing Context
Usage Example
Last updated
Was this helpful?