org_heigl/piwik
Composer 安装命令:
composer require org_heigl/piwik
包简介
Easy way to integrate piwik (http://piwik.org) analysis into a Zend-Framework Project
README 文档
README
Piwik-Integration for ZendFramework2
This module integrates the piwik-tracking-code into all WebViews of your ZF2-Site
Installation:
Piwik is best installed via composer. Include the following line into the
require-section of your composer.json-File:
"org_heigl/piwik" : "1.0.*"
Usage:
- Add the module to the
modules-list of your applicationsapplication.config.php-File. - Copy this modules
module.config.php-File to your applications ```config/autoload``-directory and edit it according to your piwik-settings. - There is no third step!
Configuration:
The configuration consists of two parameters:
return array(
'orgHeiglPiwik' => array(
// Always omit a trailing slash!
'server' => 'example.org',
'site_id' => 1,
),
);
- server is the server your piwik installation is running at. Omit a trailing slash as well as a scheme (
http://orhttps://). If you have installed piwik in a subdirectory you will have to include that here as well. So it would readexample.org/piwikwhen you have installed your piwik-instance in the subdirectorypiwikon the serverexample.org. - site_id is the ID of the site you want to track as configured in your piwik-installation.
Feedback:
Feel free to provide feedback by opening issues or pull-requests or by contacting me directly at piwik (AT) heigl (DOT) org
License:
This module is licensed according to the LICENSE-Document.
统计信息
- 总下载量: 4.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-07-16