Hi there,
Hopefully this is a simple fix.
I'm having some issues with the analytics module after upgrading to production 6.
I have tried upgrading the module as well but still am not getting any ecommerce stats. I think it is a double-up of the analytics output on the invoice page.
I don't think <mvt:if expr="Screen NE INVC"> is working??
Here are my settings:
--------------------------------
Install Stats
--------------------------------
Module GOL Analytics: v5.100
Production Release 6
Miva Merchant Engine v5.06
Database API: mysql
--------------------------------
Invoice Page Template:
--------------------------------
1. Item golanalytics assigned
2. Code at bottom of page template:
<mvt:item name="golanalytics" param="golanalytics:" />
<script language="javascript" type="text/javascript">
<!--
urchinTracker('/G1/invoice.html');
-->
</script>
</html>
--------------------------------
Sitewide Page Footer Include (through Wow Wow Widgets):
--------------------------------
<mvt:if expr="Screen NE INVC">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-473247-2"); pageTracker._initData(); pageTracker._trackPageview(); </script>
</mvt:if>
--------------------------------
Source Code View of Invoice page:
--------------------------------
showing double analytics code
Part 1 (from the sitewide footer):
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-473247-2"); pageTracker._initData(); pageTracker._trackPageview(); </script>
Part 2 (from the analytics module):
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker =
_gat._getTracker("https://www.domainname.com/v3-img/pixel.gif");
pageTracker._initData();
pageTracker._trackPageview();
pageTracker._addTrans("26224","StoreCodeUSA","13.7 5","0","0","Santa
Cruz","CA","US");
pageTracker._addItem( "26224","PF-SS-C","Product Name","","6.95","1"
); pageTracker._trackTrans(); </script>
<script language="javascript" type="text/javascript">
<!--
urchinTracker('/G1/invoice.html');
-->
</script>
</html>
Hopefully this is a simple fix.
I'm having some issues with the analytics module after upgrading to production 6.
I have tried upgrading the module as well but still am not getting any ecommerce stats. I think it is a double-up of the analytics output on the invoice page.
I don't think <mvt:if expr="Screen NE INVC"> is working??
Here are my settings:
--------------------------------
Install Stats
--------------------------------
Module GOL Analytics: v5.100
Production Release 6
Miva Merchant Engine v5.06
Database API: mysql
--------------------------------
Invoice Page Template:
--------------------------------
1. Item golanalytics assigned
2. Code at bottom of page template:
<mvt:item name="golanalytics" param="golanalytics:" />
<script language="javascript" type="text/javascript">
<!--
urchinTracker('/G1/invoice.html');
-->
</script>
</html>
--------------------------------
Sitewide Page Footer Include (through Wow Wow Widgets):
--------------------------------
<mvt:if expr="Screen NE INVC">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-473247-2"); pageTracker._initData(); pageTracker._trackPageview(); </script>
</mvt:if>
--------------------------------
Source Code View of Invoice page:
--------------------------------
showing double analytics code
Part 1 (from the sitewide footer):
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-473247-2"); pageTracker._initData(); pageTracker._trackPageview(); </script>
Part 2 (from the analytics module):
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker =
_gat._getTracker("https://www.domainname.com/v3-img/pixel.gif");
pageTracker._initData();
pageTracker._trackPageview();
pageTracker._addTrans("26224","StoreCodeUSA","13.7 5","0","0","Santa
Cruz","CA","US");
pageTracker._addItem( "26224","PF-SS-C","Product Name","","6.95","1"
); pageTracker._trackTrans(); </script>
<script language="javascript" type="text/javascript">
<!--
urchinTracker('/G1/invoice.html');
-->
</script>
</html>
Comment