I have a webapp that allows users to embed an iframe on their website. This iframe contains a Google Analytics snippet that is logging an event that captures the website the iframe is embedded on.

Google Analytics isn't reporting anything, even though I am clearly embedding this iframe on numerous websites (on multiple domains as well).

Does Google Analytics not allow tracking for multiple domains?

2 Answers 2


Google analytics will report back for the site/page in the iframe. It will not report back for the site/page hosting the iframe.


A default setup of Google Analytics is designed to track content and visitor data for a single domain. Tracking Across Multiple Domains and Sub-domains

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.