cancel
Showing results for 
Search instead for 
Did you mean: 

Google Analytics 4 integration with Magento 1x

Google Analytics 4 integration with Magento 1x

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.

10 REPLIES 10

Re: Google Analytics 4 integration with Magento 1x

Setting up Magento 1x store with Google Analytics 4 (GA4) requires a few steps. Here's what you need to do to make the switch:

  1. Create a GA4 property: If you haven't already, create a GA4 property in your Google Analytics account. This will provide you with a GA4 tracking code that you'll need for the next step.

  2. Install the GA4 tracking code: Log in to your Magento 1x store's admin panel, go to System > Configuration > Sales > Google API, and paste your GA4 tracking code in the GA Code field. Save your changes.

  3. Verify the tracking code: To check if the GA4 tracking code is installed correctly, go to the Google Analytics Debugger Chrome extension, refresh your Magento store's frontend, and see if the tracking code appears in the debugger.

  4. Set up data migration: If you want to migrate your Universal Analytics data to GA4, you'll need to set up a data stream in GA4. Go to your GA4 property, click on Admin, then Data Streams, and follow the instructions to set up a data stream for your Magento 1x store.

  5. Update the tracking code: After you've set up the data stream, update the GA4 tracking code in your Magento store's admin panel to include the data stream ID.

  6. Monitor the data migration: After a few days, check your GA4 reports to see if your data from Universal Analytics has been successfully migrated. If not, there may be a problem with the data stream.

hope it helps ,do upvote.

Re: Google Analytics 4 integration with Magento 1x

you have 2 ways here

1. if you added UA manually to your M1 code you could just remove it and paste GA4 (https://barwenock.com/blog/how-to-migrate-from-universal-analytics-to-ga4/ )

2. if you use GTM - just replace UA with GA4 and release a new tag 

3. Maybe you forgot to clean the cache

4. Check Live Report on GA

 

default answer here is:

To integrate Google Analytics 4 with Magento 1x, follow these steps:

  1. Create a Google Analytics 4 property in your Google Analytics account.
  2. Get your tracking ID from the property you created.
  3. Login to your Magento 1x admin panel.
  4. Go to System -> Configuration -> Sales -> Google API.
  5. Enter the tracking ID in the “Google Analytics Account Number” field.
  6. Select "Universal Analytics" as the "Google Analytics Type".
  7. Save the changes.
  8. Clear the Magento cache.

You should now be able to track your Magento store traffic in Google Analytics 4. Note that if you use a caching extension, it may be necessary to clear that cache as well.



anyway if you need help with that we are glad to help you)

Re: Google Analytics 4 integration with Magento 1x

Setting up Google Analytics 4 on Magento 1 can be a bit tricky. 

 

One option is to use the MagePal M1 extension, which provides an easy way to add Google Analytics 4 to your Magento 1 website without complex coding or technical skills

Re: Google Analytics 4 integration with Magento 1x

Hey..

 

Thanks a lot for sharing the helpful link as I'm also facing the same problem in my Magento development project, and now it's solved.

Re: Google Analytics 4 integration with Magento 1x

You can use this extension GTM Pro, which provides an easy way to add Google Analytics 4 to your Magento 1 website.

Re: Google Analytics 4 integration with Magento 1x

Here are some of the steps to integrate Google Analytics 4 with Magento 1x:

  1. Begin by creating a new property in your Google Analytics account. This property should be set up using Google Analytics 4.

  2. Obtain the tracking ID from the newly created property in your Google Analytics account.

  3. Access the Magento 1x admin panel and log in using your credentials.

  4. Navigate to the "System" menu and select "Configuration."

  5. In the Configuration section, find and click on "Sales" and then "Google API."

  6. Look for the field labeled "Google Analytics Account Number" and paste the tracking ID you obtained from Google Analytics 4 into this field.

  7. Next, from the dropdown labeled "Google Analytics Type," select "Universal Analytics."

  8. Save the changes you made in the configuration.

  9. To ensure the changes take effect, clear the Magento cache.

By following these steps, you will have successfully integrated Google Analytics 4 with your Magento 1x store, allowing you to track and analyze website traffic and customer behavior more effectively.

Re: Google Analytics 4 integration with Magento 1x

Hi

Re: Google Analytics 4 integration with Magento 1x

Hi

Re: Google Analytics 4 integration with Magento 1x

Hey there! I recently tackled the Google Analytics 4 integration with Magento 1x, and I get the struggle. First off, make sure you've followed Google's instructions to the T, especially updating your tracking code. It's common to face hiccups in data detection during the transition. Double-check your setup in the Magento admin panel, ensuring the GA4 tracking code is correctly inserted. Sometimes, clearing caches might help. If Google isn't picking it up, give it a bit of time; the data might take a while to flow through. Also, don't forget to check your GA4 property settings for any issues. Good luck!