Pan PHP
A simple and privacy-focused analytics php package
Listed in categories:
PrivacyGitHubAnalyticsDescription
Pan is a lightweight and privacy-focused PHP product analytics library designed for simplicity. It allows developers to track user interactions on their web applications without collecting personal information. By using a simple `data-pan` attribute, users can monitor events such as impressions, hovers, and clicks, making it easy to gather insights on user behavior.
How to use Pan PHP?
To use Pan, install it via Composer with `composer require panphp/pan`, then run `php artisan install pan` to set it up in your Laravel project. Add the `data-pan` attribute to your HTML elements to start tracking interactions. Use the command `php artisan pan` to visualize the collected analytics.
Core features of Pan PHP:
1️⃣
Tracks impressions, hovers, and clicks
2️⃣
Privacy-focused: does not collect personal information
3️⃣
Easy integration with Laravel and other PHP frameworks
4️⃣
Visualizes analytics through Artisan commands
5️⃣
Allows whitelisting of analytics records for security
Why could be used Pan PHP?
# | Use case | Status | |
---|---|---|---|
# 1 | Track which tabs are most viewed on a page with the same URL | ✅ | |
# 2 | Determine which registration button is clicked the most | ✅ | |
# 3 | Monitor which help popovers receive the most hovers | ✅ |
Who developed Pan PHP?
Pan is developed by Nuno Maduro and contributors, focusing on providing a simple and effective analytics solution for PHP applications while ensuring user privacy.