• Resolved wooassist

    (@wooassist)


    Could you please help us understand how the conversion code is triggered? I know it is on the thank you page however how does it work with offline payment methods like bank transfer, COD or Purchase Order. does the conversion trips when the order status is set to processing? or completed?

    pls advise, THanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Saif

    (@babylon1999)

    Hello @wooassist,

    Thank you for reaching out!

    Could you please help us understand how the conversion code is triggered? I know it is on the thank you page however how does it work with offline payment methods like bank transfer, COD or Purchase Order. does the conversion trips when the order status is set to processing? or completed?


    The order status should not influence the tracking in any way, you can check the integration from: https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/281ee9919379f6e6df8a8824aaac77526fbd7329/includes/class-wc-google-analytics.php#L438.

    Do you have a custom workflow for COD/BACS orders?

    Could you also attach a copy of your site’s System Status report? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter wooassist

    (@wooassist)

    @babylon1999 no custom workflow for cod, we just manually set it to completed once paid. so how are COD orders tracked in GA4?

    I have made 5 test orders and only 1 was tracked but I am not sure what triggers it.

    • This reply was modified 1 year, 3 months ago by wooassist.
    Thread Starter wooassist

    (@wooassist)

    @babylon1999 could please explain plain and simple how COD triggers the tracking? or does it not trigger it? or is it as simple as getting to the order received page? please advise

    Saif

    (@babylon1999)

    @babylon1999 no custom workflow for cod, we just manually set it to completed once paid. so how are COD orders tracked in GA4?

    The tracking of purchase events is done from the order received page (when the customer lands on it), regardless of the payment method used. This means that any changes made to the woocommerce_thankyou hook could potentially lead to issues.

    This can include:

    • Redirecting to a custom thank you page
    • Modifying the thank you page itself
    • Applying changes to the woocommerce_thankyou hook
    • Your theme overriding the behavior of the page.

    If any of these conditions apply to your website, kindly address them by removing the customization and placing a test order again. Make sure to not use your admin account when test ordering.

    Let us know how it goes! :?)

    Thread Starter wooassist

    (@wooassist)

    @babylon1999 thank you for confirming this.

    my new test orders are still not tracked but we found these live orders and GA4 was able to track them
    https://i.imgur.com/CGzCg6o.png
    https://i.imgur.com/78NWfvE.png

    my test orders are also done using an admin acct and a guest acct but none are tracked

    Saif

    (@babylon1999)

    my new test orders are still not tracked but we found these live orders and GA4 was able to track them

    Glad to know there’s some progress! :?)

    Please keep in mind that tracking information can take up to 24 hours to appear in your Google Dashboard. If you find that some orders are still not syncing, kindly provide us with your system status report so that we can investigate further.

    You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘conversion trigger’ is closed to new replies.