diff --git a/apps/dotcom/src/components/IFrameProtector.tsx b/apps/dotcom/src/components/IFrameProtector.tsx index 5db47a367..6a3add92a 100644 --- a/apps/dotcom/src/components/IFrameProtector.tsx +++ b/apps/dotcom/src/components/IFrameProtector.tsx @@ -80,10 +80,13 @@ export function IFrameProtector({ const url = useUrl() useEffect(() => { - console.log({ embeddedState, isInIframe: isInIframe(), parentOrigin: getParentOrigin() }) switch (embeddedState) { case 'iframe-not-allowed': - trackAnalyticsEvent('iframe_not_allowed', { slug, context }) + trackAnalyticsEvent('iframe_not_allowed', { + slug, + context, + parentOrigin: getParentOrigin(), + }) break case 'iframe-ok': trackAnalyticsEvent('connect_to_room_in_iframe', {