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?
|
UbercartOne cart to rule them all... |
|
| Donate to Ubercart | Affiliates | ||
Google Conversion Tracking
Submitted by Nick on Tue, 10/23/2007 - 09:56
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?
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. 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. 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 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
|
|
Joined: 08/17/2007