AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

How tracking code working with goals & iframe #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I create the follow goals in my account: 

1. /minisite/goto/i/10066/k/ 
2. /minisite/stage2
3. /minisite/stage4

on my page http://www.domainname.com/registration there is iframe with source 

http://www.domainname.com/minisite/goto/i/10066/k/

on each step i put the follow script :
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-xxxxxxx-x']);
  _gaq.push(['_trackPageview','%Step%']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +  '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

The '%Step%' replace with :

on step 1  with /minisite/goto/i/10066/k/ 
on step 2  with /minisite/stage2
on step 3  with /minisite/stage4

But i can't see any Conversion on my account  ? 

any one can help me 

thanks

Original issue reported on code.google.com by zahe...@iqtech.co.il on 13 Feb 2012 at 7:16

GoogleCodeExporter commented 9 years ago
This isn't an defect, if you need help then visit the appropriate discussion 
forum:
https://developers.google.com/analytics/community/#developer-discussion-groups

Original comment by pfrise...@google.com on 10 Oct 2014 at 6:26