How Does Google Analytics Track Framed Pages

Pages that are in a frame set are actually more than 1 page. For example your site may include 2, 3 or more frames in a page. Sometimes (not often) the best option is to build in frames. Regretfully, when you use frames it is harder to spider for search engines and will inflate your statistics in Google Analytics.

A proper installation of tracking code will include placing the tracking code on all framed pages.

Frame Example

Live Page Example

All 3 Frames count as page views

The page above is made up of 3 pages. If the tracking code is placed on the framed pages Google Analytics will log 3 page views per visit (one for each frame). It is important to note your pageviews will appear more inflated with frames because of that. The other consideration is if visitors are able to access your frames by a search engine or other source individually. This can often occur with main frames. It is best to make sure that frame is tagged along with others that have the same possibility.

Framed Pages Appear in content reports sequentially.

If you are using an iframe tag within its HTML code special consideration is needed. If the parent frame is tagged and the iframe is not you may be missing out on visits. Pages in frames can be viewed in sequence looking at Google Analytics navigation reports.

More on Frames