Jump to content

Google Analytics - Orders/Value


pdpd

Recommended Posts

Hi All,

 

We have Google Analytics setup. We have a funnel and this is picking up completed orders, but they seem to show about 75% of what the orders total in WHMCS shows.

 

Further, we cannot work out how to incorporate cost per conversion by sending total paid values back to Google Analytics.

 

Does anyone have any ideas/tips on how to get this working - is anybody running this successfully?

 

Thanks

Link to comment
Share on other sites

  • WHMCS CEO

It is my understanding that you would normally just put the Google Analytics code for order statistics to run when the order is completed and paid for. So in the template file templates/orderforms/cart/complete.tpl

 

There you can use variables such as {$orderid}, {$invoiceid} and {$amount} to pass over the data.

 

Matt

Link to comment
Share on other sites

It is my understanding that you would normally just put the Google Analytics code for order statistics to run when the order is completed and paid for. So in the template file templates/orderforms/cart/complete.tpl

 

There you can use variables such as {$orderid}, {$invoiceid} and {$amount} to pass over the data.

 

Matt

 

Thanks Matt.

 

GA needs the code on every single page as it tracks visitors throughout the site, and their steps towards order completion/dropping out of the order process/bounce rates etc.

 

Are you able to advise of the actual URL that is displayed on order completion, that includes the complete.tpl file? (This is what GA works off when you are creating a goal. You tell it what to look for in the URL (e.g. ?orderstatus=complete) in order to determine that the user is on the final page and assume the order is complete.)

Link to comment
Share on other sites

If you're using Paypal as a gateway I believe the user only hits the complete.tpl page if they click to return to your page after completing the payment. From personal experience only some of the clients actual follow this link, so that may account for the 25% of those that don't get accounted for.

Link to comment
Share on other sites

If you're using Paypal as a gateway I believe the user only hits the complete.tpl page if they click to return to your page after completing the payment. From personal experience only some of the clients actual follow this link, so that may account for the 25% of those that don't get accounted for.

 

We use WorldPay - we don't use PayPal.

GA really is an incredibly useful tool - it would be nice to get it working correctly.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated