2017 © Pedro Peláez
 

luya-module luya-module-matomo

Matomo (former piwik) analytics

image

luyadev/luya-module-matomo

Matomo (former piwik) analytics

  • Tuesday, May 22, 2018
  • by nadar
  • Repository
  • 3 Watchers
  • 0 Stars
  • 165 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 24 % Grown

The README.md

LUYA Logo , (*1)

Matomo (Piwik) Module

LUYA Latest Stable Version Total Downloads Slack Support, (*2)

Provide TrackingCode implementation Widget and Admin-Dashboard object to see latest visits from Matomo (former Piwik)., (*3)

LUYA Logo , (*4)

Installation

For the installation of modules Composer is required., (*5)

composer require luyadev/luya-module-matomo

In order to add the modules to your project go into the modules section of your config:, (*6)

'modules' => [
    // ...
    'matomoadmin' => [
        'class' => 'luya\matomo\Module',
         'serverUrl' => 'https://matomo.example.com', // without trailing slash, use full schema path.
         'siteId' => 1,
         'apiToken' => 'THE_API_TOKEN',
    ]
]
  • serverUrl: the URL which points to the Matomo installation
  • siteId: get the site Id in the Matomo dashboard under Settings > Websites > Manage
  • apiToken: get the Matomo API token under Settings > Platform > API > User authentication

Usage

After configure the admin module you can now integrate the TrackingCode widget. The tracking code will register the javascript tracking and as fall back also the tracking image between noscript tags., (*7)

We reccommend to integrate the TrackingCodeWidget right before the endBody() function in the layout., (*8)

<?= \luya\matomo\TrackingCodeWidget::widget(); ?>
<?php $this->endBody() ?>

The Versions

22/05 2018

dev-master

9999999-dev http://luya.io

Matomo (former piwik) analytics

  Sources   Download

MIT

The Development Requires

php module piwik luya matomo

22/05 2018

1.0.1

1.0.1.0 http://luya.io

Matomo (former piwik) analytics

  Sources   Download

MIT

The Development Requires

php module piwik luya matomo

05/03 2018

1.0.0

1.0.0.0 http://luya.io

Matomo (former piwik) analytics

  Sources   Download

MIT

The Development Requires

php module piwik luya matomo