• Resolved ib1222

    (@ib1222)


    Hey,

    how can I track GA4 and UA both on my website.

    Right now I have like couple months the UA code in your plugin, and in Google analytics it shows and seems to track both data, GA4 and UA, but I have not installed the GA4 code tho. But sometimes it doesn’t track good and it differs. Like I had a sale yesterday, in UA it shows the purchase/conversion but in GA4 it doesn’t. What is the proper way to track both and to make it work good, no double data.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Whilst it’s not really possible to run both UA- and GA4 code on the same website Google does have a way of connecting a UA- account to a GA4 account.

    When signed into a Google Analytics UA- account you can navigate to Admin > GA4 Setup Assistant. On that page, you will see a button to connect or disconnect a UA- property to a GA4 property you’ve created.

    Image Link: https://d.pr/i/GwY7TW

    I’d note that this Google Analytics feature should possibly still be considered BETA(even though the beta badge is gone). As it’s a feature of the Google website itself it’s also not something we could offer assistance or support with.

    Personally for now I’d recommend continuing using only UA- tracking. The new GA4 analytics platform from Google itself could still be considered BETA as it does not have the same e-commerce tracking capability UA- has as yet.

    I hope this helps.

    Best,

    @daniyalahmedk I fear comments such as calling GA4 a “beta” is misleading, considering it launched almost 2 years ago and the current UA tracking pages are now showing notices that UA will cease in just over 12 months.

    Is this simply a distraction from the fact this plugin still does not support GA4 and no intention to do so in the near future?

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @embercide

    I fear comments such as calling GA4 a “beta” is misleading, considering it launched almost 2 years ago and the current UA tracking pages are now showing notices that UA will cease in just over 12 months.

    As the GA4 system is still under heavy development by Google they should hopefully be adding more advanced e-commerce tracking capabilities to that in the future. Still considering the GA4 platform as BETA in some respects I wouldn’t consider misleading.

    At the moment the UA method of tracking when using Enhanced eCommerce seems to provide the best trackable data set for store owners.

    Is this simply a distraction from the fact this plugin still does not support GA4 and no intention to do so in the near future?

    The free WooCommerce Google Analytics Integration fully supports tracking with GA4 and you can enable GA4 tracking from within the plugin settings like this example below.

    Image Link: https://cloudup.com/cqrcgylRwlW

    It’s worth noting that UA and GA4 cannot be tracked by the plugin at the same time. Therefore you’d need to choose whether you wanted to use the UA tracking method or the GA4 tracking method on your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tracking UA and GA4’ is closed to new replies.