Coder Social home page Coder Social logo

piwik's Introduction

piwik

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:

  1. Add the module to the modules-list of your applications application.config.php-File.
  2. Copy this modules module.config.php-File to your applications ```config/autoload``-directory and edit it according to your piwik-settings.
  3. 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:// or https://). If you have installed piwik in a subdirectory you will have to include that here as well. So it would read example.org/piwik when you have installed your piwik-instance in the subdirectory piwik on the server example.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.

piwik's People

Contributors

heiglandreas avatar

Stargazers

EvKoh avatar Denny Schäfer avatar

Watchers

 avatar Harte avatar Björn Bartels avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.