
Originally Posted by
Nellie
Thanks Cuda, been away for a few days. I have removed the hard coded script in the footer, it now looks right when you view the source. Iwill have to contact Paygate re the dummy creditcard No, I dont have it off hand.
Ok I got to the checkout success page using the HSBC payment method, the cc number you gave just always kicked me back to your payment page after I entered it. At the bottom of your checkout success page your code is only the standard tracking code:
Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxxx-x";
urchinTracker();
</script>
Also on this page you do not have properly formated html because you do not have any </html> or </body> clossing tags. But that is besides the point...
It appears your your_template/google_analytics/google_analytics.php is not functioning properly. What you should see on your checkout_success page is something like this:
Code:
<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-XXXXXX-1";
urchinTracker();
</script><form style="display:none;" name="utmform">
<textarea id="utmtrans">UTM:T|6||62.78|0.00|35.28|TEST|Louisiana|United States UTM:I|6|1191|product name|2.00|1</textarea>
</form>
Notice the hidden form with the transaction data. Try to upload the your_template/google_analytics/google_analytics.php file again. Also make sure you removed the hard coded google code and only have this at the bottom of your template just before the </body> tag:
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');
}
?>
Then do a test transaction and view your source to see if you get the hidden transaction form....report back
Bookmarks