10 replies [Last post]
rio_gio's picture
Offline
Joined: 08/23/2007
Juice: 90
Was this information Helpful?

Best way to track Google Adwords campaigns?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Google Adwords

Google Analytics? (We don't use AdWords in house, so we don't have any particularly great ideas laying around. Eye-wink)

quaoar's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 179
Re: Re: Google Adwords

I only know of one good way to track Google AdWords, and that is by doing what Ryan suggested, using Google Analytics.
With Google Analytics installed on your ubercart site, just enable AdWords and "rock on" Sticking out tongue

We use it extensively for some of our sites.

Erlend Strømsvik
Ny Media AS
erlend@nymedia.no

Insurrectus's picture
Offline
Spreading the word - Ubercart for president.
Joined: 08/22/2007
Juice: 364
Tracking AdWords Conversion

You will want to track AdWords conversion too on your success page. I've added this code to the end of uc_googleanalytics.module file just before the "return $script;" call:

  $script .= "<!-- Google Code for purchase Conversion Page -->\n";
  $script .= "<script language=\"JavaScript\" type=\"text/javascript\">\n";
  $script .= "<!--\n";
  $script .= "var google_conversion_id = xxxxxxxxx;\n";
  $script .= "var google_conversion_language = \"en_U\";\n";
  $script .= "var google_conversion_format = \"1\";\n";
  $script .= "var google_conversion_color = \"FFFFFF\";\n";
  $script .= "if (xx.xx) { var google_conversion_value = xx.xx; }\n";
  $script .= "var google_conversion_label = \"purchase\";\n";
  $script .= "//-->\n";
  $script .= "</script>\n";
  $script .= "<script language=\"JavaScript\" src=\"https://www.googleadservices.com/pagead/conversion.js\">\n";
  $script .= "</script>\n";
  $script .= "<noscript>\n";
  $script .= "<img height=1 width=1 border=0 src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxx/imp.gif?value=xx.xx&label=purchase&script=0\">\n";
  $script .= "</noscript>\n";

This way you will be able to know specific conversion rates for each AdWords campaign.

rio_gio's picture
Offline
Joined: 08/23/2007
Juice: 90
Insurrectus wrote:You will
Insurrectus wrote:

You will want to track AdWords conversion too on your success page. I've added this code to the end of uc_googleanalytics.module file just before the "return $script;" call:

  $script .= "<!-- Google Code for purchase Conversion Page -->\n";
  $script .= "<script language=\"JavaScript\" type=\"text/javascript\">\n";
  $script .= "<!--\n";
  $script .= "var google_conversion_id = xxxxxxxxx;\n";
  $script .= "var google_conversion_language = \"en_U\";\n";
  $script .= "var google_conversion_format = \"1\";\n";
  $script .= "var google_conversion_color = \"FFFFFF\";\n";
  $script .= "if (xx.xx) { var google_conversion_value = xx.xx; }\n";
  $script .= "var google_conversion_label = \"purchase\";\n";
  $script .= "//-->\n";
  $script .= "</script>\n";
  $script .= "<script language=\"JavaScript\" src=\"https://www.googleadservices.com/pagead/conversion.js\">\n";
  $script .= "</script>\n";
  $script .= "<noscript>\n";
  $script .= "<img height=1 width=1 border=0 src=\"https://www.googleadservices.com/pagead/conversion/xxxxxxxx/imp.gif?value=xx.xx&label=purchase&script=0\">\n";
  $script .= "</noscript>\n";

This way you will be able to know specific conversion rates for each AdWords campaign.

This was specifically what I was looking for, thanks.

I'll go ahead and give it a shot.

quaoar's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 179
Interesting. Insurrectus, is

Interesting.
Insurrectus, is that something new?

Because, by just using the Drupal Google Analytics-module and the uc_google-module I can just go to either Google Adwords or directly to Google Analytics and get a nice statistics for each AdWords campaign, ad group, and/or ad word, with listing of visits, page views, sales, earnings, costs, number of transactions, number of sold products, and more.

What added functionality do you get from that extra code?

Erlend Strømsvik
Ny Media AS
erlend@nymedia.no

Insurrectus's picture
Offline
Spreading the word - Ubercart for president.
Joined: 08/22/2007
Juice: 364
Re: Interesting. Insurrectus, is

This will give you the conversion rate, ROI, Margin, RPC for each ad group or keyword. This will give you more granularity to understand how your AdWords are performing. The conversion rate can be calculated elsewhere in GA like under traffic sources (medium & keyword).

See attached pictures.

AttachmentSize
listing2.PNG 6.88 KB
quaoar's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 179
Re: Re: Interesting. Insurrectus, is

Yes, that's exactly what I'm talking about.

That is statistics Google provides for you if you have a GA and a AdWords account. Because AdWords is tracked by Google and GA keeps track of incoming sources, there is no need for that extra code. Just "connect" your AdWords account and GA account.
From Google Help Pages:
http://www.google.com/support/googleanalytics/bin/answer.py?answer=55507...

Not that it's a big deal, but I think less code is better Smiling

Erlend Strømsvik
Ny Media AS
erlend@nymedia.no

Insurrectus's picture
Offline
Spreading the word - Ubercart for president.
Joined: 08/22/2007
Juice: 364
Re: Re: Re: Interesting. Insurrectus, is

You can't get ROI on your AdWords unless you are tracking conversion.

KingAndy's picture
Offline
Joined: 04/01/2009
Juice: 95
Re: Google Adwords

I've built a module which may be of interest to people wanting to put Conversion Tracking code on their Order Complete pages - http://www.ubercart.org/contrib/12709. Feedback is encouraged.

Web Wonks's picture
Offline
Joined: 03/11/2012
Juice: 6
Great Post

Thanks for this post.

Regards,

Jeff - Head Web Wonk - http://www.webwonks.co.nz