PHPackages                             kernl/power-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. kernl/power-analytics

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kernl/power-analytics
=====================

A PHP &amp; WordPress library for sending analytics data to WP Power Analytics

1.3.0(4y ago)03MITPHPPHP &gt;=5.2.0

Since Oct 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vital101/power-analytics-php-library)[ Packagist](https://packagist.org/packages/kernl/power-analytics)[ Docs](https://github.com/vital101/power-analytics-php-library)[ RSS](/packages/kernl-power-analytics/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

WP Power Analytics WordPress Lib
================================

[](#wp-power-analytics-wordpress-lib)

This is the WP Power Analytics PHP library for integrating with WordPress.

> The current version is **1.3.0**

Usage
-----

[](#usage)

Initialize the library as early as possible in your plugin or theme code.

```
require plugin_dir_path( __FILE__ ) . "includes/power_analytics.php";
$powerAnalyticsUUID = "Your Power Analytics Product UUID";
$MyPlugin_PowerAnalytics = new WordPressPowerAnalytics(
    $powerAnalyticsUUID,
    __FILE__,
    "your-plugin-slug"
);
$MyPlugin_PowerAnalytics->initialize();

```

Event Tracking
--------------

[](#event-tracking)

```
global $MyPlugin_PowerAnalytics;
$MyPlugin_PowerAnalytics->track($eventName, $eventValue);

```

Why the "MyPlugin\_" in the instance variable?
----------------------------------------------

[](#why-the-myplugin_-in-the-instance-variable)

It's likely that other plugins a user has installed will use WP Power Analytics. To avoid collisions, try to explicitly namespace your WordPressPowerAnalytics instance variable.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~27 days

Total

5

Last Release

1557d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8415b9fdd0ef2c77031be5789fa2bcc9c07ac68138a2ea4cd91c14d380bb3dc8?d=identicon)[kernl](/maintainers/kernl)

---

Top Contributors

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

---

Tags

wordpress analyticsphp analyticsWP Power Analytics

### Embed Badge

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

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

PHPackages © 2026

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