Forum Moderators: DixonJones
www.example.com/somepage.htm
On this page is Google Analytics with Tracking Code 1
There is a mouse over effect loading
widgets.example.com/news.htm
into an IFRAME. This file has no tracking code.
Can this influence the statistics of www.example.com?
Does the Analyticks javascript register loading an IFRAME from an other domaint?
Pages with frames - A web page containing frames will generate multiple pageviews: one for the framing page (containing either a FRAMESET or IFRAME tag within its HTML code), and one for each page shown in a frame. As a result, pageviews may be somewhat inflated. Even if a page on your site only appears as a frame for another page, we still recommend tagging it with the entire tracking code. If a visitor reaches the page through a search engine or a direct link from another site and the page doesn't contain the tracking code, the referral, keyword and/or campaign information from the source will be lost.
How do I interpret the reports for a website that has frames?
A web page containing frames will generate multiple pageviews: one for the framing page (containing either a frameset or iframe tag within its HTML code), and one for each page shown in a frame.
In your navigation reports, each of these pageviews will appear in a sequence:
Framing page > framed page 1 > frame page 2
As a result, your Visitors > Visitor Behavior > Depth of Visit report, as well as your pageview totals, may be somewhat inflated.
Even if a page on your site only appears as a frame for another page, we still recommend tagging it with the tracking code. If a visitor reaches the page through a search engine or a direct link from another site and the page doesn't contain the tracking code, the referral, keyword and/or campaign information from the source will be lost.
We have it both ways, with the tracking code in the iframe and without it, and it only tracks the iframe with the code in it.
Chip-