mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
[piwik] Add addon config
- Update mentions of .htconfig.php
This commit is contained in:
parent
d9808fecdf
commit
e20f30888f
3 changed files with 57 additions and 18 deletions
29
piwik/config/piwik.ini.php
Normal file
29
piwik/config/piwik.ini.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?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/local.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