Plugin Support
John Coy a11n
(@johndcoy)
Automattic Happiness Engineer
Hi @emma2206
Thanks for reaching out to us! I used the Google Tag Assistant chrome extension and found that the site does indeed have Google Analytics implemented:
https://cld.wthms.co/3T9SD9
That said, can you confirm that ecommerce data tracking is enabled and that you have a payment gateway that returns users to the /order-received page after payment?
https://docs.woocommerce.com/document/google-analytics-integration/#section-2
Thanks again,
Hi John,
The payment gateway does redirect to the page /order-received and the ecommerce data tracking is enabled on Google Analytics, such as enhanced ecommerce.
We asee very few orders appear on google analytics, only 1/10 of those that are placed on the site approximately.
Thank you very much for your help,
Emma
Plugin Support
John Coy a11n
(@johndcoy)
Automattic Happiness Engineer
Hi @emma2206
Are you placing the orders while logged in as the admin? Can you test while using an incognito browser, as a guest?
Hi @johndcoy
Thank you very much for your help.
Customer orders appear in woocommerce but are not visible on google analytics, while they are not connected as admin.
I also performed tests via a private browser window and it didn’t work.
The tracking of visits and other Google Analytics data is done correctly, but not e-commerce tracking.
We have created a “completed order” objective that works, but the Conversion > E-Commerce section does not display the right data.
Emma
This kind of problem is usually caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:
- Clone your current site into a staing site. You can use https://ww.wp.xz.cn/plugins/wp-staging/
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce and “WooCommerce Google Analytics Integration”.
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.