Has anyone got a complete solution for this?
Has anyone got a complete solution for this?
do I also have problems with it, someone decided a question?
Yes, I don't understand why developer don't want to show it in Documentations...
You can place tracking code to
templates/orderforms/default/complete.tpl
(if you are using "default" order form)
==========================
{if $ispaid}
{literal}
<!-- Google Code for Purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 12313131313;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "666666";
if (1.0) {
{/literal}
var google_conversion_value = {$amount};
{literal}
}
var google_conversion_label = "Purchase";
//-->
</script>
<script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/12313131313/?value=1.0&label=Purchase&script=0">
</noscript>
{/literal}
{/if}
===============================
Hi Dimak
Thanks for the code!
Don't you also need to post the amount for noscript?
Code:{/literal} <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/12313131313/?value={$amount}&label=Purchase&script=0"> {literal}
I put the code thats in the whmcs wiki into the complete.tpl in the cart template
I made two different goals in google just be on the safe side
/complete.php
and
cart.php?a=complete
and nothing happened?
What am I missing?
Cheers
Any updates on this?
StrikeHawk eCommerce, Inc.
open source e-commerce developer on the osCommerce platform. ADD us to youtube youtube channel
I have the same issue.
Would be great to have a complete tutorial on how to do this.
Yep its a major problem for us too not being able to integrate with Google Analytics. Would be great to get a proper solution.
If anyone out there can help with this, it would be much appreciated.
Can we get an official response from Matt on this? This should be a built in feature, but if not, some final code posted as the wiki code doesn't seem to work.
i didn't have any idea about this. thanks for sharing this with us.
bump, Anyone got a final solutions for google analytics?
Any update on this? With no response from WHMCS I'm assuming they either dont care or don't have an answer. The wiki information on this topic is very basic and not very good either.
I'm testing something out now but a definite answer would be helpful because it takes a few days to collect data and be able to tell if its working.
It is odd - its a very important aspect thats not working, but it seems nobody has any answers yet.