Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question

migrated from serverfault.com May 2 '12 at 23:12

This question came from our site for professional system and network administrators.

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.