Hi guys, I'm testing some Google Analytics code that tracks clicks within an iframe that is hosted on another domain. I can't add any tracking code to the other domain. I'm using the following code for the iframe: <iframe id="testiframe" src ="http://www.blueflame.ie/test2/step1.html" iframe.src = pageTracker._getLinkerUrl("www.blueflame.ie/test2/step1.html"); var iframe = document.getElementById("testiframe"); > </iframe> HTML: As you can see from the below image, I'm able to track the clicks without too much difficulty.. But I can't setup Goals / Funnels for the process. I'm using a head match and I have set the following as my funnel URLS: Goal URL - /test2/pageTracker._getLinkerUrl%27http://www.blueflame.ie/test/step3.html%27 Step 1 – /test2/pageTracker._getLinkerUrl%27http://www.blueflame.ie/test/step1.html%27 Step 2 - /test2/pageTracker._getLinkerUrl%27http://www.blueflame.ie/test/step2.html%27 Does anybody know if it's possible to track funnels within an iframe and if so what am I doing wrong? Cheers
Hey Rollo The overall approach is described on the Google Analytics help pages here: >> http://www.google.com/support/googleanalytics/bin/answer.py?hl=fr&answer=55503 However, more specifically on the iframe part, you won't find much in their support site. After a few weeks, I finally nailed it so I posted an article about the whole thing. It's in french but you won't need any language skills to copy / paste the code snippets. I also posted a demo (zip file containing 2 html files). >> http://www.emarketeur.fr/gestion-de-projet/developper/mesurer-son-trafic-sur-plusieurs-domaines-au-travers-dun-iframe-avec-google-analytics Once you've done that, you'll be able to find out exactly what you're describing here. Hope that'll help Greg
I'm a bit technically challenged... can you explain this again... Basically the inner page is an iframe of another site, but the main site is our own with our own URL (and has no reference of the inner site). Once a purchase is made within that iframe i know about it - either by cookie or some other way... we have access to our own website code, but not that of the inner page. Could you help me explain how to set this up?