Support » Plugin: WooCommerce Google Analytics Integration » No ecommerce tracking data – custom thank you page

  • Resolved dav74

    (@dav74)


    Hello,

    I am not receiving any ecommerce data and would like to check why this is. I believe the issue might be because I am sending customers to a custom thank you page, rather than using the standard WC one.

    Is there any way I can enable the ecommerce data to start flowing, by using by custom thank you page?

    Thanks for any help here….

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @dav74

    Thanks for reaching out to us. You could probably use this information from WooCommerce core to help with that:

    https://docs.woocommerce.com/document/custom-tracking-code-for-the-thanks-page/

    Thanks again,

    Thanks @johndcoy

    However is this not for the stabdard WC thank you page? How do I edit this to add my thank you page URL in this snippet?

    I would need somethign like this no:

    if(is_page(‘xx’)) { ?>

    Hi @johndcoy,

    The E-commerce Overview is showing some limited information now, but no information yet on sales performance. Maybe I need to wait another day?

    My question to you is whether your plugin can still work when we have a custom thank you page URL (rather than the standard one)? Please note on our custom thank you page we do have a Google events snippet installed to track adwords.

    Anyhow, maybe you can write back and let me know…

    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @dav74

    E-commerce data does take some time but the extension will work with a custom order received page with the right programming knowledge.

    Hello @johndcoy,

    Can you possibly give me a snippet that I can add to my custom thank you page, which will ensure your plugin passes on the sales information to Google Analytics?

    Thank you

    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    The snippet in the link above should be sufficient.

    Hello @johndcoy

    Can you please in this case advise what tracking code I need to add to this snippet? In the snippet it leaves an area to add your tracking code, but I have no idea if this is required. Or do I just leave the tracking code area blank?

    /**
    * Put your tracking code here

    */

    Plugin Support John Coy

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @dav74

    You could work with a developer to customize a solution for you. We recommend one of the services listed on this page who can assist with any custom development work:

    https://woocommerce.com/customizations/

    Hello @johndcoy

    Yes it is just a shame that for your own WooCommerce plugin you are not prepared to fully stand behind and support it. It is frustrating.

    Yes I added that snippet, exactly as is, to my custom thank you page. Still no ecommerce sales data being pulled in…

    UPDATE – I have removed the custom thank you page plugin and am sending all traffic to the standard WC order-received page (albeit with a different end point).

    I will wait 24hrs now and see if the ecommerce sales data comes through (hopefully).

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘No ecommerce tracking data – custom thank you page’ is closed to new replies.