friendica-addons/piwik/config/piwik.config.php

34 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2018-11-25 07:15:18 +00:00
<?php
// Warning: Don't change this file! It only holds the default config values for this addon.
// Instead, copy this file to config/piwik.config.php in your Friendica directory and set the correct values there
2018-11-25 07:15:18 +00:00
return [
'piwik' => [
// baseurl (String)
// This URL points to your Piwik installation.
// Use the absolute path, remember trailing slashes but ignore the protocol (http/s) part of the URL.
// Example: baseurl = example.com/piwik/
'baseurl' => '',
// siteid (Integer)
// Change the *sideid* parameter to whatever ID you want to use for tracking your Friendica installation.
'sideid' => '',
// optout (Boolean)
// This defines whether or not a short notice about the utilization of Piwik will be displayed on every
// page of your Friendica site (at the bottom of the page with some spacing to the other content).
// Part of the note is a link that allows the visitor to set an opt-out cookie which will prevent visits
// from that user be tracked by Piwik.
'optout' => true,
// async (Boolean)
// This defines whether or not to use asynchronous tracking so pages load (or appear to load) faster.
'async' => false,
2023-04-30 08:27:23 +00:00
// shortendpoint (Boolean)
// This defines whether or not to use a short path to the tracking script: "/js/" instead of "/piwik.js".
'shortendpoint' => false,
2018-11-25 07:15:18 +00:00
],
];