Title: Conversion Tracking Not Working
Last modified: August 30, 2016

---

# Conversion Tracking Not Working

 *  Resolved [sohels](https://wordpress.org/support/users/sohels/)
 * (@sohels)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/)
 * Hi Alek,
 * I’m installed the plugin on my site and have entered the conversion id and label
   correctly. However, it doesn’t seem to be working since I had purchases today
   which didn’t show up in Adwords. Can you help me figure out what’s wrong?
 * Here’s the checkout page: [http://motibili.in/checkout/order-received/](http://motibili.in/checkout/order-received/)
 * Thanks!
 * Sohel
 * [https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392866)
 * Hi sohels
 * It can take a few hours until the conversions feed into AdWords. The only requirement
   is, that the buyer has clicked on an AdWords ad beforehand.
 * The link of the checkout page should look something like this:
 * [http://motibili.in/checkout/order-received/12345/?key=wc_order_1234566](http://motibili.in/checkout/order-received/12345/?key=wc_order_1234566)
 * It is generated automatically and the AdWords conversion code will only be inserted
   there.
 * Drop me an email to [support@wolfundbaer.ch](https://wordpress.org/support/topic/conversion-tracking-not-working/support@wolfundbaer.ch?output_format=md)
   if you still experience problems.
 * Cheers
    Aleks
 *  Thread Starter [sohels](https://wordpress.org/support/users/sohels/)
 * (@sohels)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392883)
 * Hi Alek,
 * The conversions still aren’t visible. When I inspect the order-received page,
   I don’t see the Adwords javascript in the page source. Does the plugin insert
   the javascript automatically, or do I need to insert the javascript manually?
   If the latter, what’s the best way to do it? I believe it needs to go before 
   the </body> tag?
 * Sohel
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392884)
 * Hi Sohel
 * As I wrote earlier, you probably don’t look at the right order-received page.
   If you use WooCommerce with the proper thankyou page the woocomerce_thankyou 
   hook is being called and the script automatically placed into the page.
 * Can I place a test order? I’ll show you…
 * Cheers
    Aleks
 *  Thread Starter [sohels](https://wordpress.org/support/users/sohels/)
 * (@sohels)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392913)
 * Sure, please place a test order, we won’t charge your card!
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392951)
 * Ok. I’ve placed a test order and now see where the problem is (please cancel 
   the order on your end).
 * When placing an order the customer gets redirected to the payment providers website.
   At the completion of the order the customer is being redirected back to the WooCommerce
   shop, but not to the standard WooCommerce thankyou page.
 * I don’t know if that can be fixed with your current payment provider. It really
   depends on the payment gateway integration of your payment provider for the WooCommerce
   shop. In general all payment gateway solutions which keep the customer on the
   WooCommerce store will work properly. I know that the WooThemes Paypal integration
   which also redirects the customer to Paypal will bring the customer back to the
   right woocommerce_thankyou page. But I don’t know for other gateways in general.
 * Unfortunately with your current setup you will have troubles with many other 
   tools if you want to track the order value. Such as Google Analytics, Facebook,
   Bing, KissMetrics, etc.
 * So my suggestion is to find a way to get the customers back to the woocommerce_thankyou
   page every order. Then your problem will be fixed. Maybe its just a matter of
   a proper setup of your current payment provider. Maybe more needs to be done.
 * For a deeper analysis please send me a request for an offer to [support@wolfundbaer.ch](https://wordpress.org/support/topic/conversion-tracking-not-working/support@wolfundbaer.ch?output_format=md)
 * Cheers
    Aleks
 *  Thread Starter [sohels](https://wordpress.org/support/users/sohels/)
 * (@sohels)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392957)
 * Thank you very much for this, I inspected the plugin code [on this page](https://github.com/sunnyluthra/ccavenue-payment-gateway-woocommerce/blob/master/index.php#L234).
 * In particular, I noticed that the return page is hard coded to “my account” page:
 *     ```
       $redirect_url = get_permalink(woocommerce_get_page_id('myaccount'));
       wp_redirect($redirect_url);
       ```
   
 * Would replacing that with this be sufficient?
 *     ```
       $redirect_url = get_permalink(woocommerce_get_page_id('thankyou'));
       wp_redirect($redirect_url);
       ```
   
 * Sohel
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392958)
 * Hi Sohel
 * I don’t know. You will have to test it. Probably it will not work as the order
   ID needs to be passed to the thankyou page too.
 * Cheers
    Aleks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Conversion Tracking Not Working’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-google-adwords-conversion-tracking-tag/assets/
   icon-256x256.png?rev=2704744)
 * [Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [alekv](https://wordpress.org/support/users/alekv/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/conversion-tracking-not-working/#post-6392958)
 * Status: resolved