How do I set up the Magento 1x store with Google Analytics 4, currently it's working with Universal Analytics and I want to shift to GA4. I have tried adding the GA4 as per the google instructions but Google is not picking it up.
To set up your Magento 1x store with Google Analytics 4, you can follow the steps below:
Create a GA4 property in your Google Analytics account if you haven't already.
Obtain your GA4 tracking code: Go to the GA4 property you just created and click on "Data Streams" in the property settings. Then, click on the "Web" data stream and you will find the GA4 tracking code.
Add the GA4 tracking code to your Magento 1x store:
Open your Magento 1x backend
Go to System > Configuration > Sales > Google API
Scroll down to the Google Analytics section
Change the Google Analytics Type to "GA4"
Copy and paste your GA4 tracking code into the "GA4 tracking code" field
Save the configuration
Verify that the GA4 tracking code is working correctly:
Load a page on your website and go to your GA4 property
Check the "Real-Time" report to see if data is being sent to GA4
If the data is not being sent to GA4, there may be a few things to check:
Make sure that the GA4 tracking code is placed correctly in your Magento 1x store's header
Check for any errors in the tracking code or in your GA4 property settings
Ensure that your website is sending the correct data to GA4 by using the GA4 debugging and testing tools
If you are still encountering issues, it may be helpful to seek assistance from a Magento 1x developer or a Google Analytics specialist.
To transition your Magento 1x store from Universal Analytics to Google Analytics 4, you need to ensure that your GA4 measurement ID is correctly implemented. Start by accessing your Magento admin panel, and navigate to System > Configuration > Sales > Google API. Here, add your GA4 measurement ID under the Google Analytics Account section.
Ensure that you’ve disabled Universal Analytics to avoid conflicts. Also, verify that the GA4 script is present on your storefront. You can use tools like Google Tag Assistant to troubleshoot if the setup isn’t registering. For seamless integration, consider visiting Zoro to explore additional resources.