PHPackages                             samdoit/module-google-analytics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. samdoit/module-google-analytics

ActiveMagento2-module[API Development](/categories/api)

samdoit/module-google-analytics
===============================

Magento 2 Module for Google Analytics 4

1.1.0(10mo ago)019OSL-3.0PHP

Since May 16Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/samdoit/module-google-analytics)[ Packagist](https://packagist.org/packages/samdoit/module-google-analytics)[ RSS](/packages/samdoit-module-google-analytics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Samdoit Google Analytics Extension by [Samdoit](http://www.samdoit.com/google-analytics-4.html)
===============================================================================================

[](#samdoit-google-analytics-extension-by-samdoit)

[![Total Downloads](https://camo.githubusercontent.com/4de2d202b68ea0c08ddacca312ecd5a42057d9df3004531c44ea638894d40fb8/687474703a2f2f706f7365722e707567782e6f72672f73616d646f69742f6d6f64756c652d676f6f676c652d616e616c79746963732f646f776e6c6f616473)](https://packagist.org/packages/samdoit/module-google-analytics)[![Latest Stable Version](https://camo.githubusercontent.com/cd46365b538648067695092a1abf1cc071da8ae5cc24b9da87f9f211743b77fe/687474703a2f2f706f7365722e707567782e6f72672f73616d646f69742f6d6f64756c652d676f6f676c652d616e616c79746963732f76)](https://packagist.org/packages/samdoit/module-google-analytics)

Requirements
------------

[](#requirements)

- Magento Community Edition 2.1.x-2.4.x or Magento Enterprise Edition 2.1.x-2.4.x

Installation Method 1 - Installing via composer
-----------------------------------------------

[](#installation-method-1---installing-via-composer)

- Open command line
- Using command "cd" navigate to your magento2 root directory
- Run the commands:

```
composer require samdoit/module-google-analytics
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Installation Method 2 - Installing via FTP using archive
--------------------------------------------------------

[](#installation-method-2---installing-via-ftp-using-archive)

- Download [ZIP Archive](https://github.com/samdoit/module-google-analytics/archive/main.zip)
- Extract files
- In your Magento 2 root directory create folder app/code/Samdoit/GoogleAnalytics
- Copy files and folders from archive to that folder
- In command line, using "cd", navigate to your Magento 2 root directory
- Run the commands:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

```

Support
-------

[](#support)

If you have any issues, please [contact us](http://www.samdoit.com/contact)then if you still need help, open a bug report in GitHub's [issue tracker](https://github.com/samdoit/module-google-analytics/issues).

License
-------

[](#license)

The code is licensed under [EULA](http://www.samdoit.com/end-user-license-agreement).

[Magento Extensions](http://www.samdoit.com/product/magento.html) by Samdoit
----------------------------------------------------------------------------

[](#magento-extensions-by-samdoit)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance53

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~386 days

Total

3

Last Release

326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1eee1acc3f4c8fbaddcffca457d7da4f3d5ec3d5342a1c5251a8d118d873b739?d=identicon)[samdoit](/maintainers/samdoit)

---

Top Contributors

[![samdoit](https://avatars.githubusercontent.com/u/4715425?v=4)](https://github.com/samdoit "samdoit (4 commits)")

### Embed Badge

![Health badge](/badges/samdoit-module-google-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/samdoit-module-google-analytics/health.svg)](https://phpackages.com/packages/samdoit-module-google-analytics)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
