Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe statistics

Status
Not open for further replies.

peasepud

Programmer
Jul 20, 2007
35
0
0
HI,

Im using an iframe to display a 3rd parties site and Im sure its a daft question but does this affect the users visitor statistics? Im dairly sure it mustnt (after all you're still visiting their site) but if someone could confirm this I'd be grateful.

Peter
 
If your page (containing the iframe) has a hit counter, your count will go up.

If the page inside the iframe has a hit counter, it will also go up.

The fact it's in a iframe is irrelevant. The page would behave the same as if it was in a window of its own.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
it helps a lot thanks, no hit counters (at my end anyway) but as long as the server stats of the customer shows the hit coming from my site then Im happy.
 
Ahh now - that's a different kettle of fish. You might want to confirm with them that you show up as a referrer (I'm not sure if iframes will show you as a referrer much like links will).

Alternatively, if they support params, you might be able to pass one through:

Code:
<iframe src="[URL unfurl="true"]http://whatever?referrerId=something">[/URL]

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top