Bundle that permit to use piwik to have stat in your symfony2 application.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Ulrich Van Den Hekke d86b4bdc3f fix: undefined not writing correctly 2 years ago
Common feat: rename piwik to matomo 2 years ago
Controller feat: rename piwik to matomo 2 years ago
DependencyInjection fix: name of property 2 years ago
EventListener feat: add tag management 2 years ago
Resources fix: undefined not writing correctly 2 years ago
Twig feat: rename piwik to matomo 2 years ago
.gitignore feat: rename piwik to matomo 2 years ago
.hgflow flow initialization: Added configuration file. 8 years ago
LICENCE Intial import of the PiwikBundle. 11 years ago
README.rst feat: rename piwik to matomo 2 years ago
ShadowareMatomoBundle.php feat: rename piwik to matomo 2 years ago
composer.json feat: rename piwik to matomo 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:     ~