Skip to main content

Web App Integration

This page covers the two client-side integration approaches for the Web & SDK contract: redirecting the user to a Unico-hosted journey, and embedding the journey via the iFrame SDK.

After creating a process, the response includes a URL that points to the Unico-hosted journey. Use this URL to hand the user off to the capture experience. There are two ways to manage this transition:

1. Standard redirect

Redirect the user directly to the journey URL. When the user completes the process, Unico redirects them back to the URL you specified during process creation.

2. New tab with window.open()

Open the journey in a new browser tab so the user stays in a separate context. Monitor for a URL change to your return URL and close the tab when the process is complete.

For details on the window.open() API, see the MDN documentation.