
Originally Posted by
Nellie
I have this installed on ver 1.2.7, it records the visits and goal conversions, but not the transaction and order value. Any ideas where I am going wrong?
Hey nellie I am back to help....
ok first things first view the source of your home page:
Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-861757-5";
urchinTracker();
</script><script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-861757-5";
urchinTracker();
</script>
Notice the double up of tracking code. This is probably due to you adding a hard coded version as google suggests and using the one line include from this module. Remove the hard coded line from your template all you need is this line (modified with dr bytes suggestion to check the file is actually there):
PHP Code:
<?php
if (file_exists($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'))
{
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
?>
This maybe the issue as to why you are not getting checkout tracking it may also have to do with paygate. What is the test credit card number for paygate so I can make a fake purchase and check the code?
cuda
Bookmarks