1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
; <?php exit; ?> DO NOT REMOVE THIS LINE
[superuser]
login = root
password =
[database]
host =
username =
password =
dbname =
tables_prefix =
port = 3306
adapter = PDO_MYSQL ; PDO_MYSQL or MYSQLI
[database_tests]
host = localhost
username = root
password =
dbname = piwik_tests
tables_prefix = piwiktests_
port = 3306
adapter = PDO_MYSQL
[Plugins]
Plugins[] = CorePluginsAdmin
Plugins[] = CoreAdminHome
Plugins[] = CoreHome
Plugins[] = API
Plugins[] = Widgetize
Plugins[] = LanguagesManager
Plugins[] = Actions
Plugins[] = Dashboard
Plugins[] = Referers
Plugins[] = UserSettings
Plugins[] = UserCountry
Plugins[] = VisitsSummary
Plugins[] = VisitFrequency
Plugins[] = VisitTime
Plugins[] = VisitorInterest
Plugins[] = ExampleAPI
Plugins[] = ExamplePlugin
Plugins[] = ExampleRssWidget
Plugins[] = ExampleFeedburner
Plugins[] = ExampleRssWidget
Plugins[] = Provider
Plugins[] = Feedback
Plugins[] = Login
Plugins[] = UsersManager
Plugins[] = SitesManager
Plugins[] = Installation
[PluginsInstalled]
PluginsInstalled[] = Login
PluginsInstalled[] = CoreAdminHome
PluginsInstalled[] = UsersManager
PluginsInstalled[] = SitesManager
PluginsInstalled[] = Installation
[Plugins_Tracker]
[Debug]
; if set to true, the archiving process will always be triggered, even if the archive has already been computed
; this is useful when making changes to the archiving code so we can force the archiving process
always_archive_data = false
; if set to true, all the SQL queries will be recorded by the profiler
; and a profiling summary will be printed at the end of the request
enable_sql_profiler = false
[General]
; Time in seconds after which an archive will be computed again.
; This setting is used only for today's statistics.
; Defaults to 10 seconds so that by default, Piwik provides real time reporting.
time_before_archive_considered_outdated = 10
; When loading piwik interface, we redirect the user to 'yesterday' statistics by default
; Possible values: yesterday, today, or any YYYY-MM-DD
default_day = yesterday
; When loading piwik interface, Piwik will load by default the CoreHome module
; You can override the setting to force the user to login.
; This is useful when you have some websites view "anonymous" access but you want to
; force users to login instead of viewing the first anonymous website available
default_module_login = false
; When loading the piwik interface in the browser (as opposed to from the PHP-CLI client)
; should we launch the archiving process if the archives have not yet been processed?
; You want to set it to false when triggering the archiving is done through a crontab,
; so that your users do not trigger archiving in their browser when this is not expected
enable_browser_archiving_triggering = true
; character used to automatically create categories in the "Action" "Downloads" reports
; for example a URL like "example.com/blog/development/first-post" will create
; the page first-post in the subcategory development which belongs to the blog category
action_category_delimiter = /
; currency used by default when reporting money in Piwik
default_currency = "$"
; if you want all your users to use Piwik in only one language, disable the LanguagesManager
; plugin, and set this default_language (users won't see the language drop down)
default_language = en
; default sorting order used by all datatables (desc or asc)
dataTable_default_sort_order = desc
; default number of elements in the datatable
dataTable_default_limit = 10
; PHP minimum required version (minimum requirement known to date = ->newInstanceArgs)
minimum_php_version = 5.1.3
; MySQL minimum required version
minimum_mysql_version = 4.1
minimum_memory_limit = 128
[Tracker]
; set to 0 if you want to stop tracking the visitors. Useful if you need to stop all the connections on the DB.
record_statistics = 1
; this action name is used when the javascript variable piwik_action_name is not specified in the piwik javascript code, and when the URL has no path.
default_action_name = index
; length of a visit in seconds. If a visitor comes back on the website visit_standard_length seconds after his last page view, it will be recorded as a new visit
visit_standard_length = 1800
; visitors that stay on the website and view only one page will be considered staying 10 seconds
default_time_one_page_visit = 10
; variable name used to specify a download link
; Example: '/piwik.php?idsite=1&download=http://piwik.org/piwik.zip' will redirect to 'http://piwik.org/piwik.zip'
download_url_var_name = download
; variable name used to specify a link to an external website
; Example: '/piwik.php?idsite=1&link=http://piwik.org/' will redirect to 'http://piwik.org/'
outlink_url_var_name = link
; variable that contains the name of the download or the outlink to redirect to
; Example: '/piwik.php?idsite=1&download=http://piwik.org/piwik.zip&name=Piwik last version'
download_outlink_name_var = name
; variable name to track any campaign, for example CPC campaign
; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC' then it will be counted as a campaign referer named 'Adwords-CPC'
campaign_var_name = piwik_campaign
; variable name to track any campaign keyword
; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC&piwik_kwd=My killer keyword' then it will be counted as a campaign referer named 'Adwords-CPC' with the keyword 'My killer keyword'
campaign_keyword_var_name = piwik_kwd
; name of the cookie used to store the visitor information
cookie_name = piwik_visitor
; if set to false, any goal conversion will be credited to the last more recent non empty referer.
; when set to true, the first ever referer used to reach the website will be used
use_first_referer_to_determine_goal_referer = false
; if set to true, Piwik will try to match visitors without cookie to a previous visitor that has the same
; configuration: OS, browser, resolution, IP, etc. This heuristic adds an extra SQL query for each page view without cookie.
; it is advised to set it to true for more accurate detection of unique visitors.
; However when most users have the same IP, and the same configuration, it is advised to set it to false
enable_detect_unique_visitor_using_settings = false
[log]
;possible values for log: screen, database, file
; normal messages
logger_message[] = screen
logger_error[] = screen
logger_exception[] = screen
; all calls to the API (method name, parameters, execution time, caller IP, etc.)
;logger_api_call[] = file
[log_tests]
logger_message[] = screen
logger_api_call[] = screen
logger_error[] = screen
logger_exception[] = screen
[path]
log = tmp/logs/
[smarty]
; the list of directories in which to look for templates
template_dir[] = plugins
template_dir[] = themes/default
template_dir[] = themes
plugins_dir[] = libs/Smarty/plugins
plugins_dir[] = core/SmartyPlugins
compile_dir = tmp/templates_c
cache_dir = tmp/cache
; error reporting inside Smarty
error_reporting = E_ALL|E_NOTICE
; allow smarty debugging using {debug}
debugging = true
|