Author Topic: Google Adwords Conversion Tracking  (Read 27017 times)

jaderotheram

  • Beginner
  • *
  • Posts: 20
Google Adwords Conversion Tracking
« on: June 28, 2013, 17:38:01 pm »
Virtuemart Version : 2.0.20a
Joomla Version : 2.5.9

I've read countless topics on this and there doesn't seem to be a straight answer to be found anywhere.

I have this code...

<!-- Google Code for Placed Order Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = *IDNUMBER*;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "dcRiCJaX8AQQ8sTh1wM";
var google_conversion_value = 0;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/989356658/?value=0&amp;label=dcRiCJaX8AQQ8sTh1wM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

I want it to go on the page that says "Thank you for your Order, redirecting you to paypal (or whatever)"

I would like to know:

1) Where do I put this code? What File and what is the File Path for that File?
2) I understand you cant just put that script into a .php so what needs to be added to it?
3) Conversion Label?
4) Conversion Value? I would like the Conversion Value to be the Order Total, so what do I write for this?

Any Help would be greatly appreciated, as I'm sure it would be for a lot of people.

mosdata

  • Beginner
  • *
  • Posts: 35
  • VirtueMart Version: 3.2.10
Re: Google Adwords Conversion Tracking
« Reply #1 on: September 05, 2013, 14:07:22 pm »
I have de same question. Any ideas?

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #2 on: September 07, 2013, 23:03:19 pm »
Hi there. I have the same question. Although, my code is a facebook conversion tracking which should work the same way. I know that the best way to implement it in the order confirmation page. My problem is how do I properly insert the code?

I have currently implemented like this:

Code: [Select]
echo '<script type="javascript">
some variables...
</script>
<script language="javascript" src="https://www.facebook.com/xxxxxxxxxtracker.js">';

However, nothing is being captured.

Please help.

Thank you in advance.

Maxim Pishnyak

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
Re: Google Adwords Conversion Tracking
« Reply #3 on: September 08, 2013, 09:45:20 am »
I know that the best way to implement it in the order confirmation page.
Gold words!

What did you try to do actually?
Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
https://twitter.com/virtuemart

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #4 on: September 08, 2013, 15:24:22 pm »
I know that the best way to implement it in the order confirmation page.
Gold words!

What did you try to do actually?
Hi Maxim. Well, again, I have tried inserting the code just like in my example, but it's not capturing anything. I think I am not properly inserting it. Can you please help...?

franzpeter

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 467
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 3.2.6
Re: Google Adwords Conversion Tracking
« Reply #5 on: September 09, 2013, 10:27:15 am »
What about: order_done.php (components/com_virtuemart/views/cart/tmpl/order_done.php)?

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #6 on: September 09, 2013, 14:35:33 pm »
What about: order_done.php (components/com_virtuemart/views/cart/tmpl/order_done.php)?

What about it?

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #7 on: September 10, 2013, 02:33:16 am »
I know that the best way to implement it in the order confirmation page.
Gold words!

What did you try to do actually?

Hi Max, do you know how to properly insert the code?

Thanks.

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #8 on: September 11, 2013, 05:35:34 am »
Anyone, please? I really need to get the answer to this. Thanks. :(

Maxim Pishnyak

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
Re: Google Adwords Conversion Tracking
« Reply #9 on: September 15, 2013, 12:42:11 pm »
You need to try and post here what you will get.
Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
https://twitter.com/virtuemart

franzpeter

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 467
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 3.2.6
Re: Google Adwords Conversion Tracking
« Reply #10 on: September 15, 2013, 14:23:02 pm »
Can someone tell me what Google Adwords Conversion Tracking does do? Do you pay Google by clicking on your advertisement or do you pay Google if someone clicks on your advertisement and finally buys something from your shop. So do you pay Google for successfully receiving an order or just directing a customer to your webshop?

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #11 on: September 16, 2013, 04:43:41 am »
You need to try and post here what you will get.
Hi Max, I am really lost. I don't know what your point is. I actually explained what I need. As far as conversion tracking, Google it. It's a common tracking tool that one can implement on the website.

I am not sure if you understand what I am looking for. :(

Thanks.

Maxim Pishnyak

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
Re: Google Adwords Conversion Tracking
« Reply #12 on: September 16, 2013, 05:22:30 am »
Can someone tell me what Google Adwords Conversion Tracking does do? Do you pay Google by clicking on your advertisement or do you pay Google if someone clicks on your advertisement and finally buys something from your shop. So do you pay Google for successfully receiving an order or just directing a customer to your webshop?
We are working on buys/order option in this thread.
You need to try and post here what you will get.
Hi Max, I am really lost. I don't know what your point is. I actually explained what I need. As far as conversion tracking, Google it. It's a common tracking tool that one can implement on the website.
I need url to your web site and url to the page from where you got tracking codes.

Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
https://twitter.com/virtuemart

romatvirtue

  • Jr. Member
  • **
  • Posts: 91
Re: Google Adwords Conversion Tracking
« Reply #13 on: September 16, 2013, 05:27:06 am »
Can someone tell me what Google Adwords Conversion Tracking does do? Do you pay Google by clicking on your advertisement or do you pay Google if someone clicks on your advertisement and finally buys something from your shop. So do you pay Google for successfully receiving an order or just directing a customer to your webshop?
We are working on buys/order option in this thread.
You need to try and post here what you will get.
Hi Max, I am really lost. I don't know what your point is. I actually explained what I need. As far as conversion tracking, Google it. It's a common tracking tool that one can implement on the website.
I need url to your web site and url to the page from where you got tracking codes.

Hi Max,

I don't have a direct URL for the tracking as you have to sign in to your account to be able to generate the code. I am talking about facebook ad. So you have to create an add in your account and then they will give you a conversion tracking script.

As far as my website URL, you won't see if the code is loading unless you go through the checkout process. The reason is that it's inserted in order_done file.

Thanks for helping out and let me know if this helps.

Maxim Pishnyak

  • Virtuemart 2 is quite bugfree now
  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2657
  • Virtuemart 2 is quite bugfree now
    • Virtuemart Ukraine division
Re: Google Adwords Conversion Tracking
« Reply #14 on: September 16, 2013, 05:49:23 am »
1. I don't have a direct URL for the tracking as you have to sign in to your account to be able to generate the code. I am talking about facebook ad. So you have to create an add in your account and then they will give you a conversion tracking script.

2. As far as my website URL, you won't see if the code is loading unless you go through the checkout process. The reason is that it's inserted in order_done file.
1. I'm able to signup. Just give me the url. Also you could probably gather urls for tracking code instructions, can you?
2. Could you create copy of your website elsewhere with accessible for me checkout? Renew tracking codes for this place probably.
Virtuemart 2 is quite bugfree now. You can support Community by voting for Project on the JED
http://extensions.joomla.org/extensions/e-commerce/shopping-cart/129/review
Join us in
https://www.facebook.com/virtuemart
https://twitter.com/virtuemart