Does setting document.domain via script interfere with Google Analytics?
- by Seth Petry-Johnson
I have a site, www.example.com, that displays some secure content from forms.example.com in iframes. To enable cross-frame navigation, pages on both sites use JavaScript to set the document.domain to just "example.com".
I am using Google Analytics on www.example.com, but the GA site is not showing any data. It indicates that the tracking code is found (the status icon is a green checkmark), but no data is reported.
The GA profile lists the website as "www.example.com".
Is this a supported scenario? Is my script interfering with the GA code in some way?