4 replies [Last post]
Nick's picture
Offline
Joined: 08/17/2007
Juice: 95
Was this information Helpful?

I want to add google conversion tracking code to my checkout page (the page that says "thank you for your order).

Where would I place the code google gave me?

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

You can use the Google Analytics module and the UC Google Analytics module to get this done. The UC one ships with core, and you can get the other from http://drupal.org/project/google_analytics.

snicers's picture
Offline
Uber DonorInternationalizationizer
Joined: 09/20/2007
Juice: 192
same issue

sorry ryan, but I haven't seen that the google analytics module is capable of handling the "Google Ad words conversion tracking" system. The code we need to implement is java script.

tgeller's picture
Offline
Joined: 09/21/2008
Juice: 8
Still no answer?

I'd also like to know the answer to this.

I set up Google Conversion Tracking to be triggered when someone reached the page /cart/checkout/complete, and put the code in a block in the Content area. (I'm pretty positive that's the right place for it.)

However, it appears that something in the way that page is generated is preventing Google Conversion Tracking from "seeing" it. Any tips?

--Tom

tgeller's picture
Offline
Joined: 09/21/2008
Juice: 8
P.S.

I can confirm that you need to change the Input Format to PHP to get it to work -- see http://drupal.org/node/183498 . Still, the code visits to the indicated page aren't being tracked by Google.

It might be a problem on Google's side, although I don't see how or why. I put the code on every page as a test: The code's there, but the page hit doesn't show up in my Google account. I'll check back later to see if there might be a delay in reporting or something.

--Tom