Download the PHP package setono/sylius-plausible-plugin without Composer
On this page you can find all versions of the php package setono/sylius-plausible-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-plausible-plugin
More information about setono/sylius-plausible-plugin
Files in setono/sylius-plausible-plugin
Package sylius-plausible-plugin
Short Description Start tracking your visitors with Plausible.io
License MIT
Informations about the package sylius-plausible-plugin
Sylius plugin integrating Plausible Analytics
Use Plausible Analytics to track visitors and events in your Sylius store.
Installation
Step 1: Install and enable plugin
Usage
If you have created your website in the Plausible dashboard, the plugin will just work out of the box. Enjoy 🎉
Configuration
Add functionality
Plausible use different scripts to enable functionality. Plausible calls them script extensions, and you can read about them here.
To use a script extension, you need configure the script in the plugin as follows:
Here I have added the 'file downloads' extension. Notice that I am keeping both the 'manual' and 'revenue' extensions. This is because the 'revenue' extension is used for tracking purchases, and the 'manual' extension is used for manual tracking of the pageview event.
Test tracking
If you want to test the plugin in your local environment, you can input the domain and use the local script extension:
All versions of sylius-plausible-plugin with dependencies
psr/event-dispatcher Version ^1.0
psr/log Version ^1.1 || ^2.0 || ^3.0
setono/tag-bag Version ^2.2
setono/tag-bag-bundle Version ^3.0
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/order Version ^1.0
sylius/resource-bundle Version ^1.0
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/event-dispatcher Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/messenger Version ^5.4 || ^6.0
symfony/monolog-bundle Version ^3.10
symfony/string Version ^5.4 || ^6.0
webmozart/assert Version ^1.11