VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mosdata on March 01, 2018, 00:26:12 AM

Title: Google AdWords Conversion Tracking for VM 3.2.10
Post by: mosdata on March 01, 2018, 00:26:12 AM
Hello, does anyone know how to place the new Google Adwords conversion code?
I read several old post but with none of them it worked for me.

VM 3.2.10
J 3.8.5

Regards!
HErnan
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: mosdata on March 03, 2018, 12:27:04 PM
please help!
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: heroten10 on March 08, 2018, 11:15:33 AM
I want to refer you here - https://support.google.com/adwords/answer/6095821?co=ADWORDS.IsAWNCustomer%3Dfalse&hl=en

This article explains how to create a conversion action to track customer actions on your website. You'll set up the conversion action in your AdWords account and get a piece of code called a "tag." To finish setting up conversion tracking, you'll add the conversion tracking tag to your website.


Regards
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: mosdata on March 08, 2018, 11:58:37 AM
Hi horten10, thank you very much for your response.
I have already generated the conversion code.

What I need to know is where I place it in viertuemart so that this code is executed when the order is finalized.

Could you help me?
Regards!
Hernan
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: thefbi on March 11, 2018, 16:29:10 PM
Hello,

i am intéresse too to this answer...

When you make an order, the last page after order is the "orderdone.php"
You can find it in : /YOUR_ROOT/components/com_virtuemart/views/cart/tmpl

I see we have an order_done.php, but when i try to put an order, with "pay later", the page is orderdone.php. I have not tested with PayPal paiement, but i think this is the same page.

For me, i have make html for overwriting, so it is : templates/best_theme/html/com_virtuemart/cart

I think it is in this page we have to put the code, but i dont know how, because in the Adwords it say to copy in the Head tag, but in this file i dont see head tag...

Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: Studio 42 on March 11, 2018, 20:37:53 PM
thefbi, if you need to add something in head, you can use Joomla core
See https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: sydneyartschool on April 19, 2018, 23:36:15 PM
Can anyone recommend a plugin that can track conversions and order values for Virtuemart in Google Analytics & adwords.

I am a little surprised that there does not seem to be a clear way to achieve this in an e-commerce platform.

Some of the previous responses assume skills at being a coder/developer,  which like the majority of Joomla and Virtuemart users,  are skills which I do not possess.
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: GJC Web Design on October 20, 2018, 12:41:10 PM
in the cart templates - orderdone.php
Title: Re: Google AdWords Conversion Tracking for VM 3.2.10
Post by: gillie on December 09, 2018, 04:41:37 AM
I already try plugin vp conversion tracking from virtueplanet but came up with error, page.

Anyone have same problem?