When loading the site inside iFrame with postHogProvider, the iframe page is empty
Why
PostHogProvider from posthog-js/react makes the bug, but not sure about the root reason at the moment.
PostHog has official doc about Iframe recording, it says If the iframe is from the same domain as the main page, there is no special setup needed.. I didn't find we have setting up any restriction like Content-Security-Policy, so not sure what we can fix with PostHogProvider.
Fix
Disable PostHogProvider inside iFrame
now when user opening Ask Tabby inside code browser, the event on PostHog dashboard is:
Issue
When loading the site inside iFrame with postHogProvider, the iframe page is empty
Why
PostHogProvider from
posthog-js/react
makes the bug, but not sure about the root reason at the moment.PostHog has official doc about Iframe recording, it says
If the iframe is from the same domain as the main page, there is no special setup needed.
. I didn't find we have setting up any restriction like Content-Security-Policy, so not sure what we can fix with PostHogProvider.Fix
Disable PostHogProvider inside iFrame now when user opening
Ask Tabby
inside code browser, the event on PostHog dashboard is: