Google Conversion Tracking

Posts: 55
Joined: 08/17/2007

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?

Posts: 4694
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

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.

Posts: 48
Joined: 09/20/2007
Uber Donor

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.

Posts: 4
Joined: 09/21/2008

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

Posts: 4
Joined: 09/21/2008

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