mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
[piwik] Update config file style/name
This commit is contained in:
parent
524937a830
commit
44d7a0b617
4 changed files with 46 additions and 42 deletions
29
piwik/config/piwik.config.php
Normal file
29
piwik/config/piwik.config.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
// Warning: Don't change this file! It only holds the default config values for this addon.
|
||||
// Instead overwrite these config values in config/addon.config.php in your Friendica directory
|
||||
|
||||
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,
|
||||
],
|
||||
];
|
|
@ -1,29 +0,0 @@
|
|||
<?php return <<<INI
|
||||
|
||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||
|
||||
[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
|
||||
|
||||
INI;
|
||||
//Keep this line
|
Loading…
Add table
Add a link
Reference in a new issue