Active Journey instance used to resolve the callback context.
Ordered list of predefined collectors to execute.
Optionaloptions: DeviceProfileLoggerOptionsOptional logger overrides for this call.
Result object describing success.
const node = await journey.start();
if (node.callbacks?.some(cb => cb.type === 'DeviceProfileCallback')) {
try {
await collectDeviceProfileForJourney(
journey,
['hardware', 'network', 'browser']
);
await journey.next();
} catch (error) {
console.error('Device profile submission failed', error);
}
}
Collects a device profile as part of an active Journey callback.