Bundle that permit to use piwik to have stat in your symfony2 application.
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.

README.rst 1.0KB

SHADOWARE PIWIK BUNDLE
======================

Introduction
------------

This bundle can be used to add Piwik javascript to your symfony2 application.

Features are :

- Add javascript tracking before </body> or asynchronous javascript before </head>.
- Can hide the address of the piwik 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_piwik:
base_url: %piwik_base_url%
id_site: %piwik_id_site%
hidePiwik: true
tokenId: %piwik_tokenId%
async: true
heartbeat:
enabled: true
minimumVisitLength: 15
delay: 30

In the file parameters.yml::

parameters:
paypal_username: ~
paypal_password: ~
paypal_signature: ~

piwik_base_url: ~
piwik_id_site: ~
piwik_tokenId: ~