Hi everyone, is it ok to utilize amplitude on our client's website? Our clients integrate our widget into their sites, and we need to analyze the actions of their site visitors and their interaction with our widget.
Ethan Thanks! Replied to your DM but also posting the answer here for others to benefit.
And yes, we do have other customers where a user might go into your product through a widget/iframe.You can load Amplitude JS SDK inside the iframe and then send logEvent calls like you would on your main domain.. The issue is most likely how you can persist the device id so that the user actions are tied together.At the moment we are persisting the device id by:1. Creating an iframe on the page which points to a domain you control2. Load Amplitude inside of the iframe3. Communicate with the iframe using cross-domain messaging4. Receive events inside the iframe and persist the device id on the domain you controlhttps://help.amplitude.com/hc/en-us/articles/115003135607#h_f717e48c-460c-4a17-abd7-102327673798If the iframe you are referring to does not point to a domain you control, then you could possibly set a logEvent call to when a user clicks on that link.Hope this helps!Cheers,Esther
Hi Ethan welcome to the community! Can you tell me a little bit more about your use case? And perhaps this solution might work for you.Per our documentation on instrumenting Amplitude on a third-party site, linked here, you should be able to instrument the SDK or use webhooks to track data to Amplitude via a third-party website.*Please note, that the you would need to leverage your dev team to help install the SDK or configure the webhook on the third-party site.Let me know if this is the information you were looking for or if you have any further questions!
Thanks,
Esther
Thank you so much I just sent you a DM!
Thank you so much for the detail!
We're losing user journey tracking when anonymous users switch devices during our sign-up flow. Our typical flow: anonymous user visits homepage on desktop → clicks Sign Up → redirects to Auth0 for registration → user verifies email on mobile (creating a new anonymous user ID) → returns to desktop to complete sign-up and…
Clicking ‘Mark all 7 as read’ is not doing anything to clear my alerts MacBook Air 14-inch M4 macOS: 15.5 Browser: Chrome Version 136.0.7103.114
Reality Beyond Dreams is a team of impact producers. At the heart of every film we produce, and every campaign that we design, are the core principles of Social Impact Entertainment. We are dedicated to creating cinematic projects that promote https://realitybeyonddreams.com/
Hi everyone, I’m working on adding Amplitude to a single mobile application serving multiple countries. Inside the app, users are shown a country selector panel (e.g., Egypt, Turkey, UAE, etc.), which determines the localized experience they will receive — each country has its own UX flow and logic. The client wants…
I have installed Amplitude via Google Tag Manager and looks like the user ID is not being set. I have installed 2 tag from GTM. * Tag type as init * Tag type as setUserId Still say Anonymous user