Ticket #434: global.ini.php

File global.ini.php, 6.2 KB (added by uhaefele, 3 years ago)

global ini, with tracker-switch called visitor_heuristic

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