Hey Amplitude!
I have a question related to setting up the tracking for widgets (iFrames) that are part of our Direct Booking Solution. A bit more context: Tour operators can embed our widgets on their websites as iFrames. Some examples are Tiddly Travel ("Book Now" button), The Kili Guides ("Download Itinerary" button), Vacations to Go ("Contact Us" form).
At the moment, we are not able to recognize / remember the users who interact with the widgets, as from an iFrame, we cannot place a cookie on the user's browser. Therefore, in Amplitude, every time a user opens another widget, they are counted as a new user. This is inflating our user count and hinders us from answering questions such as: How many users are overall interacting with our widget? How well is our check-out flow converting (-> % users who end up placing a booking)?
We started looking into this with our engineering team and are exploring potential solutions. Research / ideation done so far:
- Found this community post: https://community.amplitude.com/data-planning-and-governance-73/using-amplitude-on-our-customer-s-website-2210?postid=7790#post7790 -> however, this seems not doable in our case, as the operators would have to implement Amplitude tracking on their websites
- Idea that could work for us: Get Device ID from Amplitude SDK → send to our backend → our backend sends data to Amplitude.
- To further develop this idea & be able to implement it, we would need some more guidance from your end! Especially, we need to understand if/how we could get the Device ID from the Amplitude SDK!
Do you have any guidance for us how to get the Device ID through the SDK? Or even an alternative solution that could work for us?