Both websites are being tracked with separate tracking accounts.
The page with the iframe shows in the tracking reports.
The page WITHIN the iframe does not show in the tracking reports.
Main Topics
Browse All TopicsHi,
I am using Google Analytics to track user behavior on some websites.
Some of the sites have an iframe displaying content of a specific news site (see code).
I would like be able to track:
Which website displayed a page that includes this iframe?
I have included the tracking code in the news page, but it doesn't show in the Analytic statistics.
What can I do to track websites and visitors who see/ clink in links in that iframe?
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you don't have any tracking Javascript code on the page within the iframe, then it will not show in your reports.
A request to the server for the page in an iframe is exactly the same as the request for any other page on the site, so if you are asking if there is something special about tracking iframes, the answer is no. To track a page displayed in an iframe, put the tracking code in the page which is displayed as the content of the iframe.
Then several things could be going on.
1) the tracking code in the iframe page has a bug in it which prevents it from recording access
2) the iframe page is not actually being reloaded by the browser when the surrounding page displays (so that the Javascript for the tracking does not execute). You can set the page and the iframe meta directives for no-cache to help with this. This page has a discussion of the problem, and a good test case you can use to see if that is what you are seeing with your iframe:
http://bontragerconnection
3)the page which is the content of the iframe is not actually being loaded.
You can check your Web server's access logs to see when the page which is the content of the iframe is requested from the server, and compare that with the Google Analytics values, to see if that helps you track down any errors or typos in your URL or tracking Javascript code.
I went back to removing all tracking filters, because
1) the tracking code is OK, to be sure I again pasted the original
3) the page which is the content of the iframe is being loaded
2) the iframe page is being reloaded by the browser when the surrounding page displays
But the link that you sent has an interesting aspect.
I'll see if I can get access to the logs.
Keep you posted...
Thanks!
Business Accounts
Answer for Membership
by: mrcoffee365Posted on 2007-12-16 at 14:20:28ID: 20481880
If "http://www.blabla.com/new s.html" is not your Web site, then you won't be able to get tracking information from it.
s.html", then you can add tracking info to the iframe page on your Web site.
If you create an iframe page on your site, and include within it an iframe for "http://www.blabla.com/new