News:

Support the VirtueMart project and become a member

Main Menu

Google Adwords Conversion Tracking

Started by jaderotheram, June 28, 2013, 17:38:01 PM

Previous topic - Next topic

jaderotheram

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


romatvirtue

#2
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:

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

Quote from: romatvirtue on September 07, 2013, 23:03:19 PM
I know that the best way to implement it in the order confirmation page.
Gold words!

What did you try to do actually?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

romatvirtue

Quote from: Maxim Pishnyak on September 08, 2013, 09:45:20 AM
Quote from: romatvirtue on September 07, 2013, 23:03:19 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

What about: order_done.php (components/com_virtuemart/views/cart/tmpl/order_done.php)?

romatvirtue

Quote from: franzpeter on September 09, 2013, 10:27:15 AM
What about: order_done.php (components/com_virtuemart/views/cart/tmpl/order_done.php)?

What about it?

romatvirtue

Quote from: Maxim Pishnyak on September 08, 2013, 09:45:20 AM
Quote from: romatvirtue on September 07, 2013, 23:03:19 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 Max, do you know how to properly insert the code?

Thanks.

romatvirtue

Anyone, please? I really need to get the answer to this. Thanks. :(

Maxim Pishnyak

You need to try and post here what you will get.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

franzpeter

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

Quote from: Maxim Pishnyak on September 15, 2013, 12:42:11 PM
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

Quote from: franzpeter 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?
We are working on buys/order option in this thread.
Quote from: romatvirtue on September 16, 2013, 04:43:41 AM
Quote from: Maxim Pishnyak on September 15, 2013, 12:42:11 PM
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.
Quote from: Maxim Pishnyak on September 16, 2013, 04:48:26 AM
I need url to your web site and url to the page from where you got tracking codes.

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

romatvirtue

Quote from: Maxim Pishnyak on September 16, 2013, 05:22:30 AM
Quote from: franzpeter 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?
We are working on buys/order option in this thread.
Quote from: romatvirtue on September 16, 2013, 04:43:41 AM
Quote from: Maxim Pishnyak on September 15, 2013, 12:42:11 PM
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.
Quote from: Maxim Pishnyak on September 16, 2013, 04:48:26 AM
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

Quote from: romatvirtue on September 16, 2013, 05:27:06 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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart