Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author alekv

    (@alekv)

    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:

    https://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 [email protected] if you still experience problems.

    Cheers
    Aleks

    Thread Starter sohels

    (@sohels)

    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

    (@alekv)

    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

    (@sohels)

    Sure, please place a test order, we won’t charge your card!

    Plugin Author alekv

    (@alekv)

    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 [email protected]

    Cheers
    Aleks

    Thread Starter sohels

    (@sohels)

    Thank you very much for this, I inspected the plugin code on this page.

    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

    (@alekv)

    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.