17 replies [Last post]
MrProducer's picture
Offline
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

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: How/Where Do I Install Google, Yahoo, and MSN Conversion Tra

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

MrProducer's picture
Offline
Joined: 02/08/2008
Juice: 9
Patch?

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

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: Patch?

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

MrProducer's picture
Offline
Joined: 02/08/2008
Juice: 9
Thanks!!!!

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

Jmmb's picture
Offline
Joined: 08/23/2007
Juice: 296
Hi Ryan, I'm going to put

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

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: Hi Ryan, I'm going to put

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.

MrProducer's picture
Offline
Joined: 02/08/2008
Juice: 9
Conversion Tracking working

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

duckx's picture
Offline
Cool profile pic award.
Joined: 02/28/2008
Juice: 300
Hi, I'm also having the same

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

jeffholistic's picture
Offline
Joined: 11/05/2009
Juice: 2
where do i edit this page

where on this page do i add the code?

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

KingAndy's picture
Offline
Joined: 04/01/2009
Juice: 94
Re: How/Where Do I Install Google, Yahoo, and MSN Conversion Tra

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.

douglas.a.hatch's picture
Offline
Joined: 07/31/2009
Juice: 58
PayPal issue

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...

qrandle's picture
Offline
Joined: 02/16/2009
Juice: 132
Re: PayPal issue

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

qrandle's picture
Offline
Joined: 02/16/2009
Juice: 132
Re: Re: PayPal issue

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

sloaninnovations's picture
Offline
Joined: 02/26/2010
Juice: 6
Yahoo! Tracking codes

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

greta_drupal's picture
Offline
Joined: 03/11/2010
Juice: 20
Re: How/Where Do I Install Google, Yahoo, and MSN Conversion Tra

Could someone who has successfully done this please post the code that you injected and the input filter that you used.

I have tried the following code in the "checkout completion message header" -- trying both an unrestricted HTML filter and PHP filter. Code is not showing in source. And, after PayPal order submit and return to site, I get a blank page with only the UID in upper right hand corner, so I'm flying blind for error messags. (Although source code shows in View Source.)

<!-- Google Code for SignUp Conversion Page -->

<script type="text/javascript">

<!--//--><![CDATA[//><!--

var google_conversion_id = 1013901111;

var google_conversion_language = "en";

var google_conversion_format = "2";

var google_conversion_color = "ffffff";

var google_conversion_label = "XL6aCN3z4gEQ64q84wM";

var google_conversion_value = 0;

//--><!]]>

</script>

<script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">

</script>

<noscript>

<div style="display:inline;">

<img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1013908843/?label=XL6aCN3z4gEQ64q84wM&amp;guid=ON&amp;script=0"/>

</div>
</noscript>

Your order is complete! Your order number is [order-id].

greta_drupal's picture
Offline
Joined: 03/11/2010
Juice: 20
Re: Re: How/Where Do I Install Google, Yahoo, and MSN Conversion

The "white screen of death" issue has been resolved. (Caused by Ubercart bug.) But, message header conversion code still does not display in source.

Moreover, thanks to another bug (cannot enter a checkout complete custom "thank you" page), creating a custom node with the code in a footer block -- which _does_ inject the code -- is not an option.

As the original poster said, this is an important marketing tool. How can it be made so hard to implement.

marcjohnson's picture
Offline
Joined: 04/22/2010
Juice: 26
Re: Re: How/Where Do I Install Google, Yahoo, and MSN Conversion

Tried this?

http://www.ubercart.org/contrib/12709

Notice v2.0 at bottom of page.