Download the PHP package metrixs/mx-cookieless-analytics without Composer

On this page you can find all versions of the php package metrixs/mx-cookieless-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 mx-cookieless-analytics

MX Cookieless Analytics for Craft CMS

Cookieless, privacy-friendly web analytics for Craft CMS. The official MetriXs plugin.

Installation

Install via Composer from your Craft project root:

or install it from the Plugin Store inside the Craft control panel.

Then install the plugin itself:

Setup

  1. Create a free account at app.metrixs.eu and add your site.
  2. Create a site API key in the MetriXs dashboard: Settings → Sites → API keys.
  3. In the Craft control panel, go to Settings → Plugins → MX Cookieless Analytics:
    • paste the Site API key
    • switch Enable tracking on
    • Save
  4. The plugin verifies your site automatically during the save. When the page shows "site verified", tracking is live.

Your dashboard is at app.metrixs.eu: visitors, pageviews, sources, geography, devices, bounce rate, and more.

Configuration

Setting Default Description
enabled false Master switch. Nothing is injected until this is on and the site is connected.
apiKey — Site-scoped API key (mtx_live_…) from the MetriXs dashboard. Grants analytics access for this one site only, revocable at any time.
apiBase https://app.metrixs.eu MetriXs endpoint. HTTPS only; only change for self-hosted setups.
domain (auto) Site domain used for tracking. Leave empty to auto-detect from the primary site's URL.
excludeAdmins true Skip tracking for users with admin access. Regular logged-in users are tracked.
connected false Internal state, set by the verification flow.
challenge — Internal state, set by the verification flow.

The tracker script is served from app.metrixs.eu with a versioned URL, registered in the page head and loaded asynchronously (defer). It works fine alongside caching and CDN setups.

Disconnecting

Turn off Enable tracking to pause instantly. To disconnect the site entirely, revoke the API key in the MetriXs dashboard (Settings → Sites → API keys); ingestion stops immediately.

Privacy

What MetriXs does not do: no cookies, no visitor IP storage (daily-rotating salted hash only), no cross-day visitor identification, no data outside the EU. Details: metrixs.eu/data-policy.

License

MIT. See LICENSE.md.


All versions of mx-cookieless-analytics with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
craftcms/cms Version ^5.0.0
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 metrixs/mx-cookieless-analytics contains the following files

Loading the files please wait ...