How/Where Do I Install Google, Yahoo, and MSN Conversion Tracking?

14 replies [Last post]
Joined: 02/08/2008
Juice: 9

Hello, and thanks for any help.

I am an Internet Marketing consultant and one of my new clients is using Drupal with Ubercart.
I've worked with Drupal as a CMS for quit a while, but not with Ubercart.
It's a fantastic combo and I'm looking forward to working on this project.

Here is the issue/question.

I have seen that there is a Google Analytics module, which he is already using; however I do not see any documentation on where to install the very important Conversion Tracking scripts.

It seems that many people do not understand what this is, or simply confuse it with Google Analytics.

To be clear, Google, Yahoo, and MSN all offer PPC Conversion Tracking.
Conversion Tracking is a very small JavaScript file that is usually placed inside the HTML right before the closing BODY tag on the final "Thank You" page of the check out process. When this web page is loaded in the browser, the script(s) fires. This event will track back to the Google, Yahoo, or MSN, PPC account and show exactly which keyword resulted in the sale. This then gives us Cost per Conversion data that heavily influences the bids used for the different PPC keywords.

Conversion Tracking is the single most important tool for optimizing a PPC Marketing campaign.

While Google Analytics is great and does provide similar information, Conversion Tracking is used inside the management interface of the PPC accounts and allows for a very quick and effective method of managing the PPC accounts. To put it mildly, it's VERY important.

So, is there a page that these codes can simply be placed on?
Or, is there another method that can be used to implement these codes on the Thank You page?

Here is a link to more information on Google Conversion Tracking:
https://adwords.google.com/support/bin/topic.py?topic=60

On another note:

Does anybody know if the Google Analytics module tracks the Google E-Commerce functionality?
If not, is it possible to make it do so?

FYI - Here is a link to the HELP page on Google E-Commerce tracking:
https://adwords.google.com/support/bin/answer.py?answer=55528&topic=11184

Again, this functionality delivers some amazing ROI information on all sources of traffic including PPC, Organic, Banners, etc. Basically, it looks like some code needs to be placed on the receipt page that transfers some of the sale information back to Google to use in the Google Analytics data. This code needs to be modified to use the same calls that the shopping cart uses to display the data on the receipt page,

Thanks again for any and all help.

Patrick.

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Joined: 08/07/2007
Juice: 15046

Patrick, I'm really not sure about conversion tracking for AdWords, but I have a hunch... The Google Analytics module for Drupal adds traffic tracking in general to a Drupal site. Then there's the Google Analytics for Ubercart module (originally by Ny Media) which uses a Drupal hook to add the e-commerce information for completed sales to the GA form on the checkout page. My hunch is you can patch that module to add in conversion tracking information if that isn't what you're looking for there. Let me know what you find out. If we can roll it into core, that'd be great. Smiling

Joined: 02/08/2008
Juice: 9

That's great that it will do the ecomm tracking in the module.
I'm not sure about Patching the module, so I'm not sure even how to approach that aspect. I will look into that module and see what comes up.

The problem is, Conversion Tracking is needed for Google, Yahoo, and even MSN. So, maybe a simple module that would allow these 3 javascripts to be placed on the final checkout page would work.

It really couldn't be any easier, just 3 small javascripts that only go on the final checkout/receipt page.

BUT IT IS SO IMPORTANT..

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Joined: 08/07/2007
Juice: 15046

hehe Well, for the time being, you can easily add in any script using the checkout messages configuration: /admin/store/settings/checkout/edit/messages

Joined: 02/08/2008
Juice: 9

Hey Thanks!
Anything that works.
I let you know how it goes.

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Joined: 08/23/2007
Juice: 190

Hi Ryan,

I'm going to put this script into /admin/store/settings/checkout/edit/messages as you suggest. But there are 7 fields there, from "Checkout instructions" to "Continue shopping message". I'm curious which area would be best to place the script in? Also, for Input Format should I use "Full HTML", "PHP code", or ...?

Thanks,

Jim

(Drupal^Ubercart) * (Design^Development^Hosting) = Sundays Energy

Joined: 08/07/2007
Juice: 15046

I imagine you'll need to use the PHP filter if you need to call a function or print out any variables. Use the "Checkout completion message header" field since it's sure to appear on every checkout completion page.

Joined: 02/08/2008
Juice: 9

My client installed the conversion tracking scripts for Google, Yahoo, and MSN in the message field as suggested
.
I'm not sure of any settings/filters that he might have used, since he did it himself.

I can say that they are working as intended.
This is great news for anybody planning on using PPC as a marketing method.

All 3 scripts were put in the field at the same time.
We always recommend that Google's script goes in first, then Yahoo, then MSN.
This seems to work best.

Thanks again for the great help.

It looks like Ubercart get's an A+ from me.

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Patrick E. Burke

Internet Marketing Consultant
http://www.kki-marketing.com

Joined: 02/27/2008
Juice: 183

Hi,

I'm also having the same problem. I have paypal as my checkout and I dont know where to add the conversion tracking information to. Where is the thank you confirmation page once the order is complete?

thanks

Joined: 11/05/2009
Juice: 2

where on this page do i add the code?

i have found the page but there are many options....

Joined: 04/01/2009
Juice: 65

I realise this is kind of an aged issue, but I've slapped together a Google Adwords module which may make this kind of thing easier to implement - see http://www.ubercart.org/contrib/12709. I'd appreciate testing/opinions.

Joined: 07/31/2009
Juice: 37

Great module! But I have a small problem. I use PayPal exclusively for payment on my site. So during the Checkout process the user is redirected to PayPal, then after they pay, they can click on a link to return to my site, whereupon they are shown the confirmation page. Unfortunately, only about 60% of customers actually return to my site via this link. So adding the Adwords or GA code on my confirmation page is not working very well.

Has anyone run into a similar problem? And if so, any suggestions on how to solve? I have considered putting the Adwords code in the review order page right before they're punted over to PayPal. This would also not be entirely accurate, as people could ditch out after the review order screen...

Joined: 02/16/2009
Juice: 67

I think I'm running into this exact problem...

I'm starting to research it.

I have my code placed here (not using that module mentioned above)

admin/store/settings/checkout/edit/messages

I have code placed in the "Checkout completion message header"

Is that the best place? Could the same thing be happening with Paypal? About 70% of my customers use PayPal to pay???

Quint

Joined: 02/16/2009
Juice: 67

Okay. So I have Google Analytics and Google Analytics for Ubercart installed, etc. But I'm not quite sure where to put the Google "conversion code." I see all kinds of cool data in my analytics account, but I think I'm running into the problem outlined above with the "checkout completion header" being a place that people checking out with Paypal don't see/always see?

Quint

Joined: 02/26/2010
Juice: 6

I wrote this article on how to get the Yahoo! tracking codes on your site, I could take it further and actually place the code in a separate .js file but this is a good option for beginners. The problem with Yahoo! is that you must have the tag in the page head /head tags.

Adding Yahoo! Tracking to Drupal Site