Posted By

cristinachetroi on 05/11/11


Tagged

GWO


Versions (?)

MVT combinations in GA reports


 / Published in: JavaScript
 

Replace default GA snippet with this one

  1. <script type="text/javascript">
  2. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  3. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  4. </script>
  5.  
  6. <script type="text/javascript">
  7. if (utmx('combination') != undefined) {
  8. var l = document.location, s = l.search;
  9. s = s + (s.length ? '&' : '?') + 'combination=' + utmx('combination');
  10. var pageTracker = _gat._getTracker("UA-XXXXXXXX-1");
  11. pageTracker._trackPageview(l.pathname + s);
  12. }
  13. </script>

Report this snippet  

You need to login to post a comment.