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.
Ulrich Van Den Hekke b79a6a3cfe feat(license): Update license informations 1 年之前
Common Modification of the piwik script: 5 年之前
Controller We don't use cache 304 is never sent. 7 年之前
DependencyInjection On redirection, don't show piwik information, but store it on session for use in a user visible page. 5 年之前
EventListener Modification of the piwik script: 5 年之前
Resources Add noscript balise. 3 年之前
Twig feat(symfony): Update the version of symfony 1 年之前
.hgflow flow initialization: Added configuration file. 4 年之前
.hgignore On redirection, don't show piwik information, but store it on session for use in a user visible page. 5 年之前
LICENCE Intial import of the PiwikBundle. 7 年之前
README.rst Another correction in the list of the README.rst file 7 年之前
ShadowarePiwikBundle.php Intial import of the PiwikBundle. 7 年之前
composer.json feat(license): Update license informations 1 年之前

README.rst

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: ~