This package is abandoned and no longer maintained. No replacement package was suggested.

Google Analytics M2

Installs: 4 838

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 5

Forks: 9

Open Issues: 3


1.0.3 2017-08-15 10:42 UTC

This package is auto-updated.

Last update: 2020-01-29 04:12:56 UTC


Google Analytics is the free Google service and almost webmasters rely on its role in evaluating the effectiveness of online marketing campaign specifically as the traffic to website and conversion rate into customers in exact period of time.

Google Analytics extension is provided in order to help Magento stores use Google Analytics functionality more easily and conveniently.


==> This extension has rebuilt, learn more here

Highlight features

  • Support many types of chart as Pie Chart, Line Chart and Bar Chart
  • Objective and detailed reports
  • Easy to understand and analysis



Q: I got error: Mageplaza_Core has been already defined

A: Read solution:

Q: My site is down

A: Please follow this guide:

How to install

Method 1: Install ready-to-paste package

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

  1. Access to your server via SSH

  2. Create a folder (Not Magento root directory) in called: mageplaza, then upload the zip package to mageplaza folder. Download the zip package at

  3. Add the following snippet to composer.json

		"repositories": [
		 "type": "artifact",
		 "url": "path/to/root/directory/mageplaza/"
  1. 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. open source

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. Additional tracking ID

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. google anlyatics

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. google analytics

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


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