PHPackages                             aesirx/aesirx\_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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aesirx/aesirx\_analytics

ActiveDrupal-custom-module[Utility &amp; Helpers](/categories/utility)

aesirx/aesirx\_analytics
========================

Aesirx analytics plugin. When you join forces with AesirX, you're not just becoming a Partner - you're also becoming a freedom fighter in the battle for privacy!

v1.1.3(1y ago)0285[1 PRs](https://github.com/aesirxio/drupal-analytics-plugin/pulls)GPL-2.0-or-laterPHP

Since Aug 30Pushed 1y ago3 watchersCompare

[ Source](https://github.com/aesirxio/drupal-analytics-plugin)[ Packagist](https://packagist.org/packages/aesirx/aesirx_analytics)[ RSS](/packages/aesirx-aesirx-analytics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (16)Used By (0)

Drupal analytics plugin
=======================

[](#drupal-analytics-plugin)

Drupal plugin for tracking and storing the tracking data in the 1st party Aesirx Analytics server.

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

[](#requirements)

This module requires no modules outside of Drupal core.

Installation
------------

[](#installation)

If your site is managed via Composer, use Composer to download the aesirx\_analytics module running composer require aesirx/aesirx\_analytic.

Otherwise, copy/upload the aesirx\_analytics module to the modules/custom directory of your Drupal installation.

For further information check the instruction manual on `https://analytics.aesirx.io/install-guide/drupal`

Configuration
-------------

[](#configuration)

Go to Configuration (/admin/config) and find the Aesirx Analytics under the Webservice for editing (/admin/config/services/aesirx\_analytics).

Edit the configuration for your requirements.

First, you will need to select if you are going to use Internal or External 1stParty server.

- Internal - there will be a prompt to install the CLI Library which is necessary to have it all internal. Also, you will need to add the Licence Key for Aesirx Analytics and CLIENT\_ID and CLIENT\_SECRET from `https://dapp.shield.aesirx.io/licenses`.
- External - You will need to add the URL of your external 1stParty server and enter the CLIENT\_ID and CLIENT\_SECRET from `https://dapp.shield.aesirx.io/licenses`.

The Consent checkbox is for the Consent pop-up on the frontpage and Shield of Privacy option.

At the end of the configuration are Drupal specific options for tracking or removing tracking for specific pages and roles.

Save the configuration.

For local setup of the plugin
-----------------------------

[](#for-local-setup-of-the-plugin)

To install this you will need to clone this repo locally with command:

`git clone https://github.com/aesirxio/drupal-analytics-plugin.git`

PHP set up
----------

[](#php-set-up)

After that you can run the next commands.

`yarn install` - initialize libraries

`yarn build` - for building Joomla zip installer (PHP 7.2 or higher)

`yarn watch` - for watching changes in the JS when developing

Docker set up
-------------

[](#docker-set-up)

### Linux

[](#linux)

Alternatively can be used docker-compose with npm and php included, see available commands in `Makefile`: *Before build docker container please make sure you set correct USER\_ID and GROUP\_ID in .env file*

`make init` - initialize libraries

`make build` - for building Joomla zip installer (PHP 7.2 or higher)

`make watch` - for watching changes in the JS when developing

### Windows

[](#windows)

If you don't have Makefile set uo on Windows you can use direct docker commands.

`docker-compose run php-npm yarn install` - initialize libraries

`docker-compose run php-npm yarn build` - for building Joomla zip installer (PHP 7.2 or higher)

`docker-compose run php-npm yarn watch` - for watching changes in the JS when developing

Installing and Set up
---------------------

[](#installing-and-set-up)

After running the build the package will be created in the `dist` folder.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.6% 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 ~20 days

Recently: every ~65 days

Total

15

Last Release

702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16e1303d254132a7734b573dd5a751c9701fdd04422c7c0329ffcb022ca8481e?d=identicon)[Aesirx](/maintainers/Aesirx)

---

Top Contributors

[![NguyenBao10](https://avatars.githubusercontent.com/u/34084070?v=4)](https://github.com/NguyenBao10 "NguyenBao10 (12 commits)")[![shandak](https://avatars.githubusercontent.com/u/3428345?v=4)](https://github.com/shandak "shandak (3 commits)")[![jatitoam](https://avatars.githubusercontent.com/u/1500978?v=4)](https://github.com/jatitoam "jatitoam (1 commits)")[![vietredweb](https://avatars.githubusercontent.com/u/53933634?v=4)](https://github.com/vietredweb "vietredweb (1 commits)")

### Embed Badge

![Health badge](/badges/aesirx-aesirx-analytics/health.svg)

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

PHPackages © 2026

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