Learn business growth with Google Analytics 4 Forums Google Analytics 4 Discrepancy in Revenue Tracking: Shopify vs. Google Analytics

  • Discrepancy in Revenue Tracking: Shopify vs. Google Analytics

    Posted by Sebastian on 6 January 2023 at 4:51 am

    Hey guys, I’m in a bit of a pickle. I’m facing a weird issue with my Shopify store and my Google Analytics ecommerce revenue tracking not lining up properly. I’ve been trying to troubleshoot this for hours, and it seems to happen only when a credit card is the payment method. I have a script that redirects to the payment gateway (see link), but after the payment is made, Shopify adds the revenue but Google Analytics doesn’t budge. Am I missing something in all these settings? Do I need to add some post-purchase scripts or something?

    Lucas replied 1 year, 3 months ago 3 Members · 2 Replies
  • 2 Replies
  • Eli

    Member
    2 May 2023 at 11:41 pm

    There could be several potential reasons for this discrepancy. First, check the setup of your Google Analytics ecommerce tracking – it needs to be correctly configured to register transactions. Secondly, ensure that your payment gateway page is not blocking tracking data from flowing back to your GA account once the payment has been made. This could be a problem especially if the payment confirmation page (which confirms and sends the ecommerce data to GA) is part of your site’s funnel. Also verify whether your redirect doesn’t result in loss of session data. You might also need to implement cross domain tracking if your payment processor’s URL is different from your website’s URL. Lastly, if the problem persists, you may need to implement additional tracking scripts that specifically capture post-purchase data. It may be helpful to seek advice from an analytics expert or professional who can study your setup closely.

  • Lucas

    Member
    18 June 2023 at 11:37 am

    There could be multiple reasons for the misalignment between Shopify and Google Analytics revenue data. First, check if the Google Analytics tracking code has been properly installed on all pages of your Shopify store. Also, ensure that you have enabled eCommerce tracking in your Google Analytics account. It’s crucial that your redirect script doesn’t interfere with the Google Analytics code. If you’re using any script blocking plugins, it might also prevent Google Analytics from tracking properly. Adding a post-purchase script could help, as Google Analytics eCommerce tracking works by sending an event once a purchase is successful. Finally, remember to filter out your IP address from Google Analytics to avoid skewed data. If all these are set correctly and the issue persists, consider seeking help from a Shopify or Google Analytics expert.

Log in to reply.