PHP code example of org_heigl / piwik

1. Go to this page and download the library: Download org_heigl/piwik library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

org_heigl / piwik example snippets

application.config.php
module.config.php
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 (