• Resolved digitalteambenb

    (@digitalteambenb)


    Hi, We’re getting duplicate transactions coming through from this plugin to Google Analytics.

    About 10% of transactions are being duplicated and users are duplicating their transactions on the same device (type) they complete their transaction on, so it looks like users are completing their purchase, leaving the confirmation page open and revisiting it at a later date (sometimes up to 4 times and days after).

    Does anyone know how my developer can stop this from happening? I understand that the page should not allow the ‘reloading’ of data back to Google Analytics so not sure why this is happening.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Hari Shanker R

    (@harishanker)

    Hi @digitalteambenb ??

    About 10% of transactions are being duplicated and users are duplicating their transactions on the same device (type) they complete their transaction on, so it looks like users are completing their purchase, leaving the confirmation page open and revisiting it at a later date (sometimes up to 4 times and days after).

    This is definitely odd.

    Just checking if this is the right step to replicate the issue:

    1. User places the transaction, and completes the purchase by visiting the Thank you page.
    2. They forget to close the page.
    3. Then they reopen the browser, and open the same page on a later date.
    4. Upon checking Google Analytics, there are two reports of the transaction – one on the original date, and the other on the date/time when the user reopened the page.

    Did I get this right? At the top of my head, this appears to be a bug with Google Analytics. However, before I go ahead and report the same, could you confirm the steps involved in replicating the bug at my end? I’d like to test this extensively first to see if it indeed is a bug, so that we can try and get our developers to fix this.

    If it’s a bug, this might need some additional JS code to be written to check the number of page loads and prevent tracking when the page is loaded again.

    We look forward to hearing back from you!

    Thread Starter digitalteambenb

    (@digitalteambenb)

    Hi Hari,

    Thanks for getting back to me!

    Yes, that’s correct, the steps you have are what I think is happening. I’ve assumed they have left the page open on their device because all of the ‘transactions’ occur on the same device type, it would be even weirder if they were completing the transaction on mobile and duplicating it on desktop for example.

    Thanks,

    Ben

    (@bencalder)

    I have also noticed this duplicate issue for about the same volume of transactions, possibly even a little higher percentage.

    It’s been happening for a few months but it will show the transaction duplicated on the same day, not at some point in the future.

    At the moment the plugin isn’t recording any e-commerce sales.

    Thread Starter digitalteambenb

    (@digitalteambenb)

    Hi Hari, did you hear back on this?
    Thanks

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @digitalteambenb and @bencalder

    It appears that this is a known bug. We don’t have an ETA on a fix for it, however you’re welcome to follow along with the GitHub issue here:

    https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/120

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Because this is a bug, I’ll go ahead and mark this thread as resolved. Again, you can follow along with the progress of the bug resolution on the GitHub link referenced above. If you have any further questions, please feel free to start another thread!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Duplicate transaction issue in Google Analytics’ is closed to new replies.