mageplaza / magento-2-google-analytics
Google Analytics M2
Installs: 4 996
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 10
Open Issues: 3
Type:magento2-module
Requires
This package is auto-updated.
Last update: 2025-04-15 10:43:59 UTC
README
Google Analytics 4 (GA4), launched in October 2020, is a free Google service widely relied upon by webmasters to evaluate the effectiveness of online marketing campaigns, track website traffic, and measure conversion rates over specific periods.
With Mageplaza Google Analytics 4 Extension for Magento 2, store owners can easily integrate GA4 into their Magento store, making it more convenient to access and leverage Google Analytics’ powerful insights. This extension simplifies setup, allowing you to track key metrics and optimize your online store’s performance effortlessly.
Announcement
This free version of the Mageplaza Google Analytics 4 extension is no longer supported and may come with unwanted bugs and outdated features.
But don’t worry! The new version on our live site now supports the latest GA4, Google Tag Manager (GTM), detailed reports, and will be regularly updated to keep you ahead of the game.
Upgrade your experience with the updated Mageplaza GA4 version now!
Highlight features
- Compatible with Hyva Theme & API/GraphQL
- Access comprehensive reports on key store metrics
- Analyze customer activity for marketing insights and optimization
- Track Google Ads dynamic remarketing
- Integrate Facebook Pixel for campaign conversion tracking
- Generate a JSON file with one simple click for easy integration
- Comply with Google Consent Mode V2 for privacy regulation compliance
Documentation
FAQs
Q: I got error: Mageplaza_Core has been already defined
A: Read solution: https://github.com/mageplaza/module-core/issues/3
Q: My site is down
A: Please follow this guide: https://www.mageplaza.com/blog/magento-site-down.html
How to install
Method 1: Install ready-to-paste package
- Download the latest version at Mageplaza Blog for Magento 2
- Installation guide
Method 2: Install via composer
Run the following command in Magento 2 root folder
composer require mageplaza/magento-2-google-analytics
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Method 3: Manually install via composer
-
Access to your server via SSH
-
Create a folder (Not Magento root directory) in called:
mageplaza
, then upload the zip package to mageplaza folder. Download the zip package at https://github.com/mageplaza/magento-2-google-analytics/archive/master.zip -
Add the following snippet to
composer.json
{
"repositories": [
{
"type": "artifact",
"url": "path/to/root/directory/mageplaza/"
}
]
}
- Run composer command line
composer require mageplaza/magento-2-google-analytics
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
100% Free Google Analytics Extension
Store owners have rights to configure easily and customize in the way you need.
Additional tracking ID
Beside the main tracking ID from Google Analytics registration, Magento supports the second tracking ID which allows getting the analytics at the same time without any delay.
Enhance the accuracy of analytics page report
As administrator, you can enable Enhanced Link Attribution feature to automatically differentiating between multiple links and the same URL on a single page. Thanks to that, your report about driving the traffic becomes more credible.
Allow accessing the analytics report via IP anonymization
With Google Analytics extension, instead of real IP address, the anonymized IP can be used if you approve to guarantee user’s privacy policy.
Support trace debugging
Trace Debugging will show extra information on the console with the full tracking snippet while you are following Google Analytics report.
Other Features
- 100% FREE
- Support multi-store
- Support multi-language
- Easy to custom
- Well-done user guide
- Life-time support and update
CHANGELOG
Google Analytics
Released on 2017-06-28 Release notes:
- Update admin configuration
- Update composer package
Google Analytics v1.0.1
Released on 2017-04-24 Release notes:
- Edit composer.json to require mageplazamodule-core instead of mageplazacore-m2
Google Analytics v1.0.0
Released on 2017-04-09 Release notes:
- Release first version