User behavior tracking

I’m using https://clarity.microsoft.com/ to monitor user behavior on a web app I built, but it seems like Glide doesn’t allow it to work properly.

If I contact Glide to request enabling iframes, would that solve this issue?

Or do you have any other recommendations?

Thank you.

I don’t know anything about Microsoft Clarity.

To track user behavior inside a Glide app, you could look into the PostHog and Google Tag Manager integrations. PostHog in particular has a good reputation.

Here are the links to the Glide integrations:

PostHog

Google Tag Manager

1 Like

What are you trying to show on the screen in your app? Is any of your content contained within an iframe (which includes custom AI components and web view components)? Based on a quick Google search, Clarity seems to struggle with viewing content inside iframes. If you inspect that part of your app, is it contained within an iframe? If that’s the case, I don’t think asking Glide to enable iframes would work. What that does is allow the app itself to be visible within an iframe and doesn’t really have anything to do with iframes inside of your app.

Unless I’m misunderstanding the problem, and it’s that clarity is using an iframe to show your app but can’t. In that case maybe it would help for Glide to enable iframes provided your plan supports that feature. I guess it’s unclear from the video if only certain parts of your app are not showing or if the entire app is not showing.

1 Like

Yes, my page consists entirely of AI Components across the whole screen.

Do I have any options if I still want to view user behavior playback using Microsoft Clarity?

Not sure. Not a lot of information out there, but I think it blocks anything considered cross origin or coming from an external source. While AI component iframes are not sourced from a url per se, they are derived directly from code. With that said, I don’t know if there is anything Glide can enable or disable to allow cross origin in this case. AI component iframes are coming from the same domain source theoretically, but since they are structured a little differently than typical iframes I’m not sure if they are seen as an internal or external source. I guess you can ask support, but I’m not sure how far you will get with that. Glide likes to sandbox a lot of things they can’t control to prevent misuse. That’s why AI components live inside iframes and render separately from the rest of the app.

Ultimately I believe the Glide feature to enable iframe embedding would be unrelated to what you are trying to achieve.

Disclaimer: This is the first time I’ve heard about Clarity, so I don’t know much about it or it’s limitations.

1 Like