Iframe traffic not recording in analytics

wickedhat

Newbie
Joined
Jul 29, 2012
Messages
1
Reaction score
0
I want to send "junk traffic" to another site via an iframe. I've done some initial testings and found that not all referrals from the main site are being recorded in the second website (the site in the iframe). I noticed only a fraction like 10% of the traffic from site1 are being recorded by site2.

Anyone have any experience in this? I'd like for all 100% of the traffic to be recorded in analytics.

thanks.
 
How are you grabbing the referral?
Code:
parent.document.referrer
? You can also try
Code:
top.document.referrer
Also keep in mind you can't get referrer if the domains are different (cross domain policy)
 
Back
Top