PostHog / posthog-js

Send usage data from your web app or site to PostHog, with autocapture.
https://posthog.com/docs/libraries/js
Other
304 stars 127 forks source link

Allow marking rrweb as the top level even when in an iframe #1101

Open pauldambra opened 8 months ago

pauldambra commented 8 months ago

if you have a page that you don't control which embeds your site in an iframe and your site embeds another site in an iframe

so you have

this should need a change to rrweb but should be possible to support

see https://posthoghelp.zendesk.com/agent/tickets/12001

pauldambra commented 6 months ago

see also https://github.com/PostHog/rrweb/blob/posthog/packages/rrweb/src/record/index.ts#L95-L109