convertedObjects method
void
convertedObjects({})
Send a hits conversion event
Optional custom timestamp
can be provided.
Implementation
void convertedObjects({
required String eventName,
required Iterable<String> objectIDs,
DateTime? timestamp,
}) {
if (!isEnabled) {
return;
}
if (delegate.queryID == null) {
tracker.convertedObjects(
indexName: delegate.indexName,
eventName: eventName,
objectIDs: objectIDs,
timestamp: timestamp,
);
} else {
tracker.convertedObjectsAfterSearch(
indexName: delegate.indexName,
eventName: eventName,
queryID: delegate.queryID!,
objectIDs: objectIDs,
timestamp: timestamp,
);
}
}