Author Topic: AdWords Conversion Tracking  (Read 33697 times)


  • Jr. Member
  • **
  • Posts: 373
Re: AdWords Conversion Tracking
« Reply #15 on: September 25, 2008, 12:29:05 PM »
I am really fed up with Virtuemart now. The forum is practically dead.

I understand the whole community thing, but when you put days, weeks and months into something and then hit a hurdle that you cant overcome, its really annoying :(

I have a company managing our adwords campaigns, its costing us money, yet we cant track what sales comes through adwords.

Is there a way to track CONVERSIONS that ACTUALLY works???

Thanks to anyone that bothers to reply.....



  • Beginner
  • *
  • Posts: 40
    • Ethical Joomla SEO company
Re: AdWords Conversion Tracking
« Reply #16 on: October 03, 2009, 14:40:47 PM »
Looks like the problem people are having is adding code to the ADMINISTRATOR file via the rool level...proper place is here.
Michael Zittel is user, the founder of and developer of SerrBizSEF as well as other Joomla components. We practice ethical SEO with a specialty in Joomla.


  • Beginner
  • *
  • Posts: 6
Re: AdWords Conversion Tracking
« Reply #17 on: September 09, 2010, 17:45:32 PM »
Right - this guy has got the answer:

Via FTP, open components > virtuemart > themes > default > templates > pages > checkout.thankyou.tpl.php
*Having reviewed the forums myself, it seems some people have been adding the code to the same page, but in the ADMINSTRATOR folder. That is where there mistake lay. DO NOT add the code to the ADMINISTRATOR file.
At the end of the code, just add your Google Conversion Tracking code.

just implemented the whole thing in 5 mins, & tested it, and Bingo!! it works ;)


  • Beginner
  • *
  • Posts: 26
    • thinksync
Re: AdWords Conversion Tracking
« Reply #18 on: September 11, 2010, 09:00:43 AM »
Can you please post the code you used? I think I'm having issues figuring out which variables should be used.

I'm using the OpenPotion analytics plugin, which supports the asynchronous snippet. I'm also using the asynchronous version of the ecommerce code. It should be working, but it's eluding me so far.


  • Beginner
  • *
  • Posts: 29
  • VirtueMart Version: 3.2.14
Re: AdWords Conversion Tracking
« Reply #19 on: November 12, 2013, 18:31:37 PM »
I've put this text at the and of checkout.thankyou.php. Conversion_id is of course not real ;-)

<!-- Google Code for purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
var google_conversion_id = 100000000;
var google_conversion_language = "pl";
var google_conversion_format = "1";
var google_conversion_color = "000000";
if (<?echo $order_total ?>) {
var google_conversion_value = <? echo $order_total ?>
var google_conversion_label = "purchase";
<script language="JavaScript"

<img height=1 width=1 border=0
src="<? echo $order_total ?>&label=purchase&script=0">
Any suggestions how to Echo the Order total? The above suggestion does not work and Google Tag Assistant report an error with the code above.