You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
Common | 2 years ago | |
Controller | 2 years ago | |
DependencyInjection | 2 years ago | |
EventListener | 2 years ago | |
Resources | 2 years ago | |
Twig | 2 years ago | |
.gitignore | 2 years ago | |
.hgflow | 7 years ago | |
LICENCE | 10 years ago | |
README.rst | 2 years ago | |
ShadowareMatomoBundle.php | 2 years ago | |
composer.json | 2 years ago |
README.rst
SHADOWARE MATOMO BUNDLE
======================
Introduction
------------
This bundle can be used to add Matomo javascript to your symfony2 application.
Features are :
- Add javascript tracking before </body> or asynchronous javascript before </head>.
- Can hide the address of the matomo server, by proxying the JS and call to the PHP script.
- Easily add
- search tracking
- product and category ecommerce view.
- basket and sell javascript
- heartbeat function
Call can be made from Twig or directly from controller.
Configuration
-------------
In the file config.yml::
shadoware_matomo:
base_url: %matomo_base_url%
id_site: %matomo_id_site%
hideMatomo: true
tokenId: %matomo_tokenId%
async: true
heartbeat:
enabled: true
minimumVisitLength: 15
delay: 30
In the file parameters.yml::
parameters:
paypal_username: ~
paypal_password: ~
paypal_signature: ~
matomo_base_url: ~
matomo_id_site: ~
matomo_tokenId: ~