Download the PHP package mohammedshuaau/enhanced-analytics without Composer

On this page you can find all versions of the php package mohammedshuaau/enhanced-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package enhanced-analytics

Enhanced Analytics for Statamic

A powerful analytics addon for Statamic that provides detailed insights into your website's traffic and user behavior.

Features

📊 Real-Time Analytics

👥 Visitor Insights

🌍 Geographic Data

💻 Technical Insights

⚡ Performance Features

🎨 Dashboard Features

🔒 Privacy & Security

Installation

  1. Install the package via Composer:

  2. Publish the configuration:

  3. Run the migrations:

Configuration

The addon can be configured via the config/enhanced-analytics.php file:

Consent Banner Configuration

The addon includes a privacy-focused consent banner that's disabled by default. Here's how to configure it:

  1. Enable the consent banner by setting tracking.consent.enabled to true in your config file.

  2. Add the consent banner and CSRF token (header meta tag) to your layout:

  3. Customize the banner appearance and text:

Customizing the Consent Banner Template

You can fully customize the consent banner's appearance by publishing and editing its template:

  1. Publish the consent banner template:

  2. Edit the template at:

The template uses Alpine.js for interactivity and Tailwind CSS for styling. You can modify the HTML structure, styling, and behavior while maintaining the core functionality through the following data attributes:

The consent banner includes:

When enabled, tracking will only begin after the visitor provides consent. Their preferences are saved and respected across sessions.

Usage

Once installed, the addon will automatically start tracking page visits. Access the analytics dashboard via the Control Panel under Tools > Analytics.

Automatic Processing

The addon automatically processes analytics data via Scheduler. You might want to run the scheduler and the addon will handle the rest. You can always set the minutes the command should execute.

Manual Processing

You can manually process analytics data using the command:

Data Export

Export detailed analytics data directly from the dashboard in CSV format for further analysis.

Performance Considerations

Upcoming Features

Contributing

Contributions are always welcome!

Development Guidelines

Testing

Run the test suite:

Support

If you discover any security-related issues, please use the issue tracker to report them.

License

The MIT License (MIT). Please see License File for more information.


All versions of enhanced-analytics with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
statamic/cms Version ^5.0
jenssegers/agent Version ^2.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mohammedshuaau/enhanced-analytics contains the following files

Loading the files please wait ....