Download the PHP package pixelopen/magento-plausible without Composer

On this page you can find all versions of the php package pixelopen/magento-plausible. 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 magento-plausible

Magento Plausible

Minimum PHP Version Minimum Magento Version GitHub release Quality Gate Status

Presentation

Add Plausible Analytics to Magento.

Requirements

Installation

Configuration

Stores > Configuration > Services > Plausible

Tracking

Option Description
Enabled Add tracking script on frontend and start recording visited pages.
Instance URL Plausible instance URL. Allow to use a custom domain for dedicated instance.

Note: For custom domain with Magento CSP Module, remember to add your instance URL in CSP whitelist for frame-src, connect-src and script-src.

Admin

Option Description
Enabled Display stats in the "Marketing > Plausible > Analytics" menu (refresh cache when option is updated).
Shared Link Create the shared link in your Plausible instance site settings: Visibility > Shared links > + New link

Goals

The module includes goal events when enabled in module configuration.

Option Description
Enabled Allow to track actions.
Goal Contact Plausible goal name when customer send a contact message. Leave empty to ignore.
Goal Register Plausible goal name when creating the customer account. Leave empty to ignore.
Goal Login Plausible goal name when customer was connected. Leave empty to ignore.
Goal Cart Plausible goal name when customer goes to the cart. Leave empty to ignore.
Goal Checkout Plausible goal when customer access the checkout. Leave empty to ignore.
Goal Order Plausible goal name when customer completes an order. Leave empty to ignore.
Goal Product Plausible goal name when customer visits a product page. Leave empty to ignore.
Goal Category Plausible goal name when customer visits a category page. Leave empty to ignore.

You need to add goal events in your Plausible website configuration:

The Plausible goal name must be the same as the name in the module configuration.

Default goal names are:

Revenue Tracking

With the goal "order", the "revenue tracking" is sent. This feature is only available with Plausible business plan.

When you add the "order" goal, you need to enable the "Revenue Tracking":

Custom Goal

In a module, declare the new goals in the config.xml file:

From anywhere (like a controller action), add a new Plausible goal:

When this controller is reached and the page displayed, the goal named "page_view_goal" (according the config for "my_page_view_action") is sent to Plausible.

The send method allows to send goals. The goal will persist until send method is requested for the current session.

Add custom properties if needed (Business Plan only):

To send goals on a full cached page after any action, add the action in a sections.xml file in etc/frontend directory.

To always send goal on a full cached page, add a child block to the native block pixel_open_plausible_goals:

To send goals from a custom RequireJS script, ask to reload the plausible section:

To simply send a goal in JavaScript, use the plausible method:


All versions of magento-plausible with dependencies

PHP Build Version
Package Version
Requires php Version ^8
magento/module-backend Version *
magento/module-checkout Version *
magento/module-config Version *
magento/module-contact Version *
magento/module-customer Version *
magento/module-store Version *
magento/framework Version *
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 pixelopen/magento-plausible contains the following files

Loading the files please wait ....