Amplitude cross domain tracking
Track responders in Amplitude across domains
Last updated
Was this helpful?
Was this helpful?
// in the main site retrieve device id from amp instance
const ampDeviceId = amplitude.getInstance().options.deviceId;
// pass the device id to Formsort flow
<EmbedFlow
clientLabel="client"
flowLabel="onboarding"
queryParams={[['amp_device_id', ampDeviceId]]}
/>// in the main site retrieve device id from amp instance
const ampDeviceId = amplitude.getInstance().options.deviceId;
embed.loadFlow(
'client', // client label
'onboarding', // flow label
'main', // variant label - optional
[['amp_device_id', ampDeviceId]] // query params
)