Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

global.ini.php 32KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. ; <?php exit; ?> DO NOT REMOVE THIS LINE
  2. ; If you want to change some of these default values, the best practise is to override
  3. ; them in your configuration file in config/config.ini.php. If you directly edit this file,
  4. ; you will lose your changes when you upgrade Piwik.
  5. ; For example if you want to override action_title_category_delimiter,
  6. ; edit config/config.ini.php and add the following:
  7. ; [General]
  8. ; action_title_category_delimiter = "-"
  9. ;--------
  10. ; WARNING - YOU SHOULD NOT EDIT THIS FILE DIRECTLY - Edit config.ini.php instead.
  11. ;--------
  12. [database]
  13. host =
  14. username =
  15. password =
  16. dbname =
  17. tables_prefix =
  18. port = 3306
  19. adapter = PDO\MYSQL
  20. type = InnoDB
  21. schema = Mysql
  22. ; if charset is set to utf8, Piwik will ensure that it is storing its data using UTF8 charset.
  23. ; it will add a sql query SET at each page view.
  24. ; Piwik should work correctly without this setting.
  25. ;charset = utf8
  26. [database_tests]
  27. host = localhost
  28. username = root
  29. password =
  30. dbname = piwik_tests
  31. tables_prefix = piwiktests_
  32. port = 3306
  33. adapter = PDO\MYSQL
  34. type = InnoDB
  35. schema = Mysql
  36. [log]
  37. ; possible values for log: screen, database, file
  38. log_writers[] = screen
  39. ; log level, everything logged w/ this level or one of greater severity
  40. ; will be logged. everything else will be ignored. possible values are:
  41. ; NONE, ERROR, WARN, INFO, DEBUG, VERBOSE
  42. log_level = WARN
  43. ; if set to 1, only requests done in CLI mode (eg. the ./console core:archive cron run) will be logged
  44. ; NOTE: log_only_when_debug_parameter will also be checked for
  45. log_only_when_cli = 0
  46. ; if set to 1, only requests with "&debug" parameter will be logged
  47. ; NOTE: log_only_when_cli will also be checked for
  48. log_only_when_debug_parameter = 0
  49. ; if configured to log in a file, log entries will be made to this file
  50. logger_file_path = tmp/logs/piwik.log
  51. [Debug]
  52. ; if set to 1, the archiving process will always be triggered, even if the archive has already been computed
  53. ; this is useful when making changes to the archiving code so we can force the archiving process
  54. always_archive_data_period = 0;
  55. always_archive_data_day = 0;
  56. ; Force archiving Custom date range (without re-archiving sub-periods used to process this date range)
  57. always_archive_data_range = 0;
  58. ; if set to 1, all the SQL queries will be recorded by the profiler
  59. ; and a profiling summary will be printed at the end of the request
  60. ; NOTE: you must also set [log] log_writers[] = "screen" to enable the profiler to print on screen
  61. enable_sql_profiler = 0
  62. ; if set to > 0, a Piwik tracking code will be included in the Piwik UI footer and will track visits, pages, etc.
  63. ; data will be stored for idSite = enable_measure_piwik_usage_in_idsite
  64. ; this is useful for Piwik developers as an easy way to create data in their local Piwik
  65. enable_measure_piwik_usage_in_idsite = 0
  66. ; If set to 1, all requests to piwik.php will be forced to be 'new visitors'
  67. tracker_always_new_visitor = 0
  68. ; Allow automatic upgrades to Beta or RC releases
  69. allow_upgrades_to_beta = 0
  70. [DebugTests]
  71. ; When set to 1, standalone plugins (those with their own git repositories)
  72. ; will be loaded when executing tests.
  73. enable_load_standalone_plugins_during_tests = 0
  74. [Development]
  75. ; Enables the development mode where we avoid most caching to make sure code changes will be directly applied as
  76. ; some caches are only invalidated after an update otherwise. When enabled it'll also performs some validation checks.
  77. ; For instance if you register a method in a widget we will verify whether the method actually exists and is public.
  78. ; If not, we will show you a helpful warning to make it easy to find simple typos etc.
  79. enabled = 0
  80. ; if set to 1, javascript files will be included individually and neither merged nor minified.
  81. ; this option must be set to 1 when adding, removing or modifying javascript files
  82. disable_merged_assets = 0
  83. [General]
  84. ; the following settings control whether Unique Visitors `nb_uniq_visitors` and Unique users `nb_users` will be processed for different period types.
  85. ; year and range periods are disabled by default, to ensure optimal performance for high traffic Piwik instances
  86. ; if you set it to 1 and want the Unique Visitors to be re-processed for reports in the past, drop all piwik_archive_* tables
  87. ; it is recommended to always enable Unique Visitors and Unique Users processing for 'day' periods
  88. enable_processing_unique_visitors_day = 1
  89. enable_processing_unique_visitors_week = 1
  90. enable_processing_unique_visitors_month = 1
  91. enable_processing_unique_visitors_year = 0
  92. enable_processing_unique_visitors_range = 0
  93. ; controls whether Unique Visitors will be processed for groups of websites. these metrics describe the number
  94. ; of unique visitors across the entire set of websites, so if a visitor visited two websites in the group, she
  95. ; would still only be counted as one. only relevant when using plugins that group sites together
  96. enable_processing_unique_visitors_multiple_sites = 0
  97. ; The list of periods that are available in the Piwik calendar
  98. ; Example use case: custom date range requests are processed in real time,
  99. ; so they may take a few minutes on very high traffic website: you may remove "range" below to disable this period
  100. enabled_periods_UI = "day,week,month,year,range"
  101. enabled_periods_API = "day,week,month,year,range"
  102. ; when set to 1, all requests to Piwik will return a maintenance message without connecting to the DB
  103. ; this is useful when upgrading using the shell command, to prevent other users from accessing the UI while Upgrade is in progress
  104. maintenance_mode = 0
  105. ; character used to automatically create categories in the Actions > Pages, Outlinks and Downloads reports
  106. ; for example a URL like "example.com/blog/development/first-post" will create
  107. ; the page first-post in the subcategory development which belongs to the blog category
  108. action_url_category_delimiter = /
  109. ; similar to above, but this delimiter is only used for page titles in the Actions > Page titles report
  110. action_title_category_delimiter = /
  111. ; the maximum url category depth to track. if this is set to 2, then a url such as
  112. ; "example.com/blog/development/first-post" would be treated as "example.com/blog/development".
  113. ; this setting is used mainly to limit the amount of data that is stored by Piwik.
  114. action_category_level_limit = 10
  115. ; minimum number of websites to run autocompleter
  116. autocomplete_min_sites = 5
  117. ; maximum number of websites showed in search results in autocompleter
  118. site_selector_max_sites = 15
  119. ; if set to 1, shows sparklines (evolution graph) in 'All Websites' report (MultiSites plugin)
  120. show_multisites_sparklines = 1
  121. ; number of websites to display per page in the All Websites dashboard
  122. all_websites_website_per_page = 50
  123. ; if set to 0, the anonymous user will not be able to use the 'segments' parameter in the API request
  124. ; this is useful to prevent full DB access to the anonymous user, or to limit performance usage
  125. anonymous_user_enable_use_segments_API = 1
  126. ; if browser trigger archiving is disabled, API requests with a &segment= parameter will still trigger archiving.
  127. ; You can force the browser archiving to be disabled in most cases by setting this setting to 1
  128. ; The only time that the browser will still trigger archiving is when requesting a custom date range that is not pre-processed yet
  129. browser_archiving_disabled_enforce = 0
  130. ; By default, users can create Segments which are to be processed in Real-time.
  131. ; Setting this to 0 will force all newly created Custom Segments to be "Pre-processed (faster, requires archive.php cron)"
  132. ; This can be useful if you want to prevent users from adding much load on the server.
  133. ; Note: any existing Segment set to "processed in Real time", will still be set to Real-time.
  134. ; this will only affect custom segments added or modified after this setting is changed.
  135. enable_create_realtime_segments = 1
  136. ; Whether to enable the "Suggest values for segment" in the Segment Editor panel.
  137. ; Set this to 0 in case your Piwik database is very big, and suggested values may not appear in time
  138. enable_segment_suggested_values = 1
  139. ; By default, any user with a "view" access for a website can create segment assigned to this website.
  140. ; Set this to "admin" or "superuser" to require that users should have at least this access to create new segments.
  141. ; Note: anonymous user (even if it has view access) is not allowed to create or edit segment.
  142. ; Possible values are "view", "admin", "superuser"
  143. adding_segment_requires_access = "view"
  144. ; Whether it is allowed for users to add segments that affect all websites or not. If there are many websites
  145. ; this admin option can be used to prevent users from performing an action that will have a major impact
  146. ; on Piwik performance.
  147. allow_adding_segments_for_all_websites = 1
  148. ; this action name is used when the URL ends with a slash /
  149. ; it is useful to have an actual string to write in the UI
  150. action_default_name = index
  151. ; if you want all your users to use Piwik in only one language, disable the LanguagesManager
  152. ; plugin, and set this default_language (users won't see the language drop down)
  153. default_language = en
  154. ; default number of elements in the datatable
  155. datatable_default_limit = 10
  156. ; Each datatable report has a Row Limit selector at the bottom right.
  157. ; By default you can select from 5 to 500 rows. You may customise the values below:
  158. datatable_row_limits = "5,10,25,50,100,250,500"
  159. ; default number of rows returned in API responses
  160. ; this value is overwritten by the '# Rows to display' selector.
  161. ; if set to -1, a click on 'Export as' will export all rows independently of the current '# Rows to display'.
  162. API_datatable_default_limit = 100
  163. ; When period=range, below the datatables, when user clicks on "export", the data will be aggregate of the range.
  164. ; Here you can specify the comma separated list of formats for which the data will be exported aggregated by day
  165. ; (ie. there will be a new "date" column). For example set to: "rss,tsv,csv"
  166. datatable_export_range_as_day = "rss"
  167. ; This setting is overriden in the UI, under "User Settings".
  168. ; The date and period loaded by Piwik uses the defaults below. Possible values: yesterday, today.
  169. default_day = yesterday
  170. ; Possible values: day, week, month, year.
  171. default_period = day
  172. ; Time in seconds after which an archive will be computed again. This setting is used only for today's statistics.
  173. ; This setting is overriden in the UI, under "General Settings".
  174. ; This setting is only used if it hasn't been overriden via the UI yet, or if enable_general_settings_admin=0
  175. time_before_today_archive_considered_outdated = 150
  176. ; This setting is overriden in the UI, under "General Settings".
  177. ; The default value is to allow browsers to trigger the Piwik archiving process.
  178. ; This setting is only used if it hasn't been overriden via the UI yet, or if enable_general_settings_admin=0
  179. enable_browser_archiving_triggering = 1
  180. ; By default Piwik runs OPTIMIZE TABLE SQL queries to free spaces after deleting some data.
  181. ; If your Piwik tracks millions of pages, the OPTIMIZE TABLE queries might run for hours (seen in "SHOW FULL PROCESSLIST \g")
  182. ; so you can disable these special queries here:
  183. enable_sql_optimize_queries = 1
  184. ; MySQL minimum required version
  185. ; note: timezone support added in 4.1.3
  186. minimum_mysql_version = 4.1
  187. ; PostgreSQL minimum required version
  188. minimum_pgsql_version = 8.3
  189. ; Minimum adviced memory limit in php.ini file (see memory_limit value)
  190. minimum_memory_limit = 128
  191. ; Minimum memory limit enforced when archived via ./console core:archive
  192. minimum_memory_limit_when_archiving = 768
  193. ; Piwik will check that usernames and password have a minimum length, and will check that characters are "allowed"
  194. ; This can be disabled, if for example you wish to import an existing User database in Piwik and your rules are less restrictive
  195. disable_checks_usernames_attributes = 0
  196. ; Piwik will use the configured hash algorithm where possible.
  197. ; For legacy data, fallback or non-security scenarios, we use md5.
  198. hash_algorithm = whirlpool
  199. ; by default, Piwik uses PHP's built-in file-based session save handler with lock files.
  200. ; For clusters, use dbtable.
  201. session_save_handler = files
  202. ; If set to 1, Piwik will automatically redirect all http:// requests to https://
  203. ; If SSL / https is not correctly configured on the server, this will break Piwik
  204. ; If you set this to 1, and your SSL configuration breaks later on, you can always edit this back to 0
  205. ; it is recommended for security reasons to always use Piwik over https
  206. force_ssl = 0
  207. ; login cookie name
  208. login_cookie_name = piwik_auth
  209. ; login cookie expiration (14 days)
  210. login_cookie_expire = 1209600
  211. ; The path on the server in which the cookie will be available on.
  212. ; Defaults to empty. See spec in http://curl.haxx.se/rfc/cookie_spec.html
  213. login_cookie_path =
  214. ; email address that appears as a Sender in the password recovery email
  215. ; if specified, {DOMAIN} will be replaced by the current Piwik domain
  216. login_password_recovery_email_address = "password-recovery@{DOMAIN}"
  217. ; name that appears as a Sender in the password recovery email
  218. login_password_recovery_email_name = Piwik
  219. ; email address that appears as a Repy-to in the password recovery email
  220. ; if specified, {DOMAIN} will be replaced by the current Piwik domain
  221. login_password_recovery_replyto_email_address = "no-reply@{DOMAIN}"
  222. ; name that appears as a Reply-to in the password recovery email
  223. login_password_recovery_replyto_email_name = "No-reply"
  224. ; By default when user logs out he is redirected to Piwik "homepage" usually the Login form.
  225. ; Uncomment the next line to set a URL to redirect the user to after he logs out of Piwik.
  226. ; login_logout_url = http://...
  227. ; Set to 1 to disable the framebuster on standard Non-widgets pages (a click-jacking countermeasure).
  228. ; Default is 0 (i.e., bust frames on all non Widget pages such as Login, API, Widgets, Email reports, etc.).
  229. enable_framed_pages = 0
  230. ; Set to 1 to disable the framebuster on Admin pages (a click-jacking countermeasure).
  231. ; Default is 0 (i.e., bust frames on the Settings forms).
  232. enable_framed_settings = 0
  233. ; language cookie name for session
  234. language_cookie_name = piwik_lang
  235. ; standard email address displayed when sending emails
  236. noreply_email_address = "noreply@{DOMAIN}"
  237. ; feedback email address;
  238. ; when testing, use your own email address or "nobody"
  239. feedback_email_address = "feedback@piwik.org"
  240. ; using to set reply_to in reports e-mail to login of report creator
  241. scheduled_reports_replyto_is_user_email_and_alias = 0
  242. ; during archiving, Piwik will limit the number of results recorded, for performance reasons
  243. ; maximum number of rows for any of the Referrers tables (keywords, search engines, campaigns, etc.)
  244. datatable_archiving_maximum_rows_referrers = 1000
  245. ; maximum number of rows for any of the Referrers subtable (search engines by keyword, keyword by campaign, etc.)
  246. datatable_archiving_maximum_rows_subtable_referrers = 50
  247. ; maximum number of rows for the Custom Variables names report
  248. ; Note: if the website is Ecommerce enabled, the two values below will be automatically set to 50000
  249. datatable_archiving_maximum_rows_custom_variables = 1000
  250. ; maximum number of rows for the Custom Variables values reports
  251. datatable_archiving_maximum_rows_subtable_custom_variables = 1000
  252. ; maximum number of rows for any of the Actions tables (pages, downloads, outlinks)
  253. datatable_archiving_maximum_rows_actions = 500
  254. ; maximum number of rows for pages in categories (sub pages, when clicking on the + for a page category)
  255. ; note: should not exceed the display limit in Piwik\Actions\Controller::ACTIONS_REPORT_ROWS_DISPLAY
  256. ; because each subdirectory doesn't have paging at the bottom, so all data should be displayed if possible.
  257. datatable_archiving_maximum_rows_subtable_actions = 100
  258. ; maximum number of rows for any of the Events tables (Categories, Actions, Names)
  259. datatable_archiving_maximum_rows_events = 500
  260. ; maximum number of rows for sub-tables of the Events tables (eg. for the subtables Categories>Actions or Categories>Names).
  261. datatable_archiving_maximum_rows_subtable_events = 100
  262. ; maximum number of rows for other tables (Providers, User settings configurations)
  263. datatable_archiving_maximum_rows_standard = 500
  264. ; maximum number of rows to fetch from the database when archiving. if set to 0, no limit is used.
  265. ; this can be used to speed up the archiving process, but is only useful if you're site has a large
  266. ; amount of actions, referrers or custom variable name/value pairs.
  267. archiving_ranking_query_row_limit = 50000
  268. ; maximum number of actions that is shown in the visitor log for each visitor
  269. visitor_log_maximum_actions_per_visit = 500
  270. ; by default, the real time Live! widget will update every 5 seconds and refresh with new visits/actions/etc.
  271. ; you can change the timeout so the widget refreshes more often, or not as frequently
  272. live_widget_refresh_after_seconds = 5
  273. ; by default, the Live! real time visitor count widget will check to see how many visitors your
  274. ; website received in the last 3 minutes. changing this value will change the number of minutes
  275. ; the widget looks in.
  276. live_widget_visitor_count_last_minutes = 3
  277. ; In "All Websites" dashboard, when looking at today's reports (or a date range including today),
  278. ; the page will automatically refresh every 5 minutes. Set to 0 to disable automatic refresh
  279. multisites_refresh_after_seconds = 300
  280. ; Set to 1 if you're using https on your Piwik server and Piwik can't detect it,
  281. ; e.g., a reverse proxy using https-to-http, or a web server that doesn't
  282. ; set the HTTPS environment variable.
  283. assume_secure_protocol = 0
  284. ; List of proxy headers for client IP addresses
  285. ;
  286. ; CloudFlare (CF-Connecting-IP)
  287. ;proxy_client_headers[] = HTTP_CF_CONNECTING_IP
  288. ;
  289. ; ISP proxy (Client-IP)
  290. ;proxy_client_headers[] = HTTP_CLIENT_IP
  291. ;
  292. ; de facto standard (X-Forwarded-For)
  293. ;proxy_client_headers[] = HTTP_X_FORWARDED_FOR
  294. ; List of proxy headers for host IP addresses
  295. ;
  296. ; de facto standard (X-Forwarded-Host)
  297. ;proxy_host_headers[] = HTTP_X_FORWARDED_HOST
  298. ; List of proxy IP addresses (or IP address ranges) to skip (if present in the above headers).
  299. ; Generally, only required if there's more than one proxy between the visitor and the backend web server.
  300. ;
  301. ; Examples:
  302. ;proxy_ips[] = 204.93.240.*
  303. ;proxy_ips[] = 204.93.177.0/24
  304. ;proxy_ips[] = 199.27.128.0/21
  305. ;proxy_ips[] = 173.245.48.0/20
  306. ; Whether to enable trusted host checking. This can be disabled if you're running Piwik
  307. ; on several URLs and do not wish to constantly edit the trusted host list.
  308. enable_trusted_host_check = 1
  309. ; List of trusted hosts (eg domain or subdomain names) when generating absolute URLs.
  310. ;
  311. ; Examples:
  312. ;trusted_hosts[] = example.com
  313. ;trusted_hosts[] = stats.example.com
  314. ; List of Cross-origin resource sharing domains (eg domain or subdomain names) when generating absolute URLs.
  315. ; Described here: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
  316. ;
  317. ; Examples:
  318. ;cors_domains[] = http://example.com
  319. ;cors_domains[] = http://stats.example.com
  320. ; OR allow for all domains
  321. ;cors_domains[] = *
  322. ; If you use this Piwik instance over multiple hostnames, Piwik will need to know
  323. ; a unique instance_id for this instance, so that Piwik can serve the right custom logo and tmp/* assets,
  324. ; independantly of the hostname Piwik is currently running under.
  325. ; instance_id = stats.example.com
  326. ; The release server is an essential part of the Piwik infrastructure/ecosystem
  327. ; to provide the latest software version.
  328. latest_version_url = http://builds.piwik.org/piwik.zip
  329. ; The API server is an essential part of the Piwik infrastructure/ecosystem to
  330. ; provide services to Piwik installations, e.g., getLatestVersion and
  331. ; subscribeNewsletter.
  332. api_service_url = http://api.piwik.org
  333. ; When the ImageGraph plugin is activated, report metadata have an additional entry : 'imageGraphUrl'.
  334. ; This entry can be used to request a static graph for the requested report.
  335. ; When requesting report metadata with $period=range, Piwik needs to translate it to multiple periods for evolution graphs.
  336. ; eg. $period=range&date=previous10 becomes $period=day&date=previous10. Use this setting to override the $period value.
  337. graphs_default_period_to_plot_when_period_range = day
  338. ; The Overlay plugin shows the Top X following pages, Top X downloads and Top X outlinks which followed
  339. ; a view of the current page. The value X can be set here.
  340. overlay_following_pages_limit = 300
  341. ; With this option, you can disable the framed mode of the Overlay plugin. Use it if your website contains a framebuster.
  342. overlay_disable_framed_mode = 0
  343. ; By default we check whether the Custom logo is writable or not, before we display the Custom logo file uploader
  344. enable_custom_logo_check = 1
  345. ; If php is running in a chroot environment, when trying to import CSV files with createTableFromCSVFile(),
  346. ; Mysql will try to load the chrooted path (which is imcomplete). To prevent an error, here you can specify the
  347. ; absolute path to the chroot environment. eg. '/path/to/piwik/chrooted/'
  348. absolute_chroot_path =
  349. ; In some rare cases it may be useful to explicitely tell Piwik not to use LOAD DATA INFILE
  350. ; This may for example be useful when doing Mysql AWS replication
  351. enable_load_data_infile = 1
  352. ; By setting this option to 0, you can disable the Piwik marketplace. This is useful to prevent giving the Super user
  353. ; the access to disk and install custom PHP code (Piwik plugins).
  354. enable_marketplace = 1
  355. ; By setting this option to 0:
  356. ; - links to Enable/Disable/Uninstall plugins will be hidden and disabled
  357. ; - links to Uninstall themes will be disabled (but user can still enable/disable themes)
  358. ; - as well as disabling plugins admin actions (such as "Upload new plugin"), setting this to 1 will have same effect as setting enable_marketplace=1
  359. enable_plugins_admin = 1
  360. ; By setting this option to 0, you can prevent Super User from editing the Geolocation settings.
  361. enable_geolocation_admin = 1
  362. ; By setting this option to 0, the old log data and old report data features will be hidden from the UI
  363. ; Note: log purging and old data purging still occurs, just the Super User cannot change the settings.
  364. enable_delete_old_data_settings_admin = 1
  365. ; By setting this option to 0, the following settings will be hidden and disabled from being set in the UI:
  366. ; - "Archiving Settings"
  367. ; - "Update settings"
  368. ; - "Email server settings"
  369. enable_general_settings_admin = 1
  370. ; By setting this option to 0, it will disable the "Auto update" feature
  371. enable_auto_update = 1
  372. ; By setting this option to 0, no emails will be sent in case of an available core.
  373. ; If set to 0 it also disables the "sent plugin update emails" feature in general and the related setting in the UI.
  374. enable_update_communication = 1
  375. ; This controls whether the pivotBy query parameter can be used with any dimension or just subtable
  376. ; dimensions. If set to 1, it will fetch a report with a segment for each row of the table being pivoted.
  377. ; At present, this is very inefficient, so it is disabled by default.
  378. pivot_by_filter_enable_fetch_by_segment = 0
  379. ; This controls the default maximum number of columns to display in a pivot table. Since a pivot table displays
  380. ; a table's rows as columns, the number of columns can become very large, which will affect webpage layouts.
  381. ; Set to -1 to specify no limit. Note: The pivotByColumnLimit query parameter can be used to override this default
  382. ; on a per-request basis;
  383. pivot_by_filter_default_column_limit = 10
  384. [Tracker]
  385. ; Piwik uses first party cookies by default. If set to 1,
  386. ; the visit ID cookie will be set on the Piwik server domain as well
  387. ; this is useful when you want to do cross websites analysis
  388. use_third_party_id_cookie = 0
  389. ; If tracking does not work for you or you are stuck finding an issue, you might want to enable the tracker debug mode.
  390. ; Once enabled (set to 1) messages will be logged to all loggers defined in "[log] log_writers" config.
  391. debug = 0
  392. ; This setting is described in this FAQ: http://piwik.org/faq/how-to/faq_175/
  393. ; Note: generally this should only be set to 1 in an intranet setting, where most users have the same configuration (browsers, OS)
  394. ; and the same IP. If left to 0 in this setting, all visitors will be counted as one single visitor.
  395. trust_visitors_cookies = 0
  396. ; name of the cookie used to store the visitor information
  397. ; This is used only if use_third_party_id_cookie = 1
  398. cookie_name = _pk_uid
  399. ; by default, the Piwik tracking cookie expires in 2 years
  400. ; This is used only if use_third_party_id_cookie = 1
  401. cookie_expire = 63072000
  402. ; The path on the server in which the cookie will be available on.
  403. ; Defaults to empty. See spec in http://curl.haxx.se/rfc/cookie_spec.html
  404. ; This is used for the Ignore cookie, and the third party cookie if use_third_party_id_cookie = 1
  405. cookie_path =
  406. ; set to 0 if you want to stop tracking the visitors. Useful if you need to stop all the connections on the DB.
  407. record_statistics = 1
  408. ; length of a visit in seconds. If a visitor comes back on the website visit_standard_length seconds
  409. ; after his last page view, it will be recorded as a new visit
  410. visit_standard_length = 1800
  411. ; The window to look back for a previous visit by this current visitor. Defaults to visit_standard_length.
  412. ; If you are looking for higher accuracy of "returning visitors" metrics, you may set this value to 86400 or more.
  413. ; This is especially useful when you use the Tracking API where tracking Returning Visitors often depends on this setting.
  414. ; The value window_look_back_for_visitor is used only if it is set to greater than visit_standard_length
  415. window_look_back_for_visitor = 0
  416. ; visitors that stay on the website and view only one page will be considered as time on site of 0 second
  417. default_time_one_page_visit = 0
  418. ; if set to 1, Piwik attempts a "best guess" at the visitor's country of
  419. ; origin when the preferred language tag omits region information.
  420. ; The mapping is defined in core/DataFiles/LanguageToCountry.php,
  421. enable_language_to_country_guess = 1
  422. ; When the `./console core:archive` cron hasn't been setup, we still need to regularly run some maintenance tasks.
  423. ; Visits to the Tracker will try to trigger Scheduled Tasks (eg. scheduled PDF/HTML reports by email).
  424. ; Scheduled tasks will only run if 'Enable Piwik Archiving from Browser' is enabled in the General Settings.
  425. ; Tasks run once every hour maximum, they might not run every hour if traffic is low.
  426. ; Set to 0 to disable Scheduled tasks completely.
  427. scheduled_tasks_min_interval = 3600
  428. ; name of the cookie to ignore visits
  429. ignore_visits_cookie_name = piwik_ignore
  430. ; Comma separated list of variable names that will be read to define a Campaign name, for example CPC campaign
  431. ; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC' then it will be counted as a campaign referrer named 'Adwords-CPC'
  432. ; Includes by default the GA style campaign parameters
  433. campaign_var_name = "pk_campaign,piwik_campaign,utm_campaign,utm_source,utm_medium"
  434. ; Comma separated list of variable names that will be read to track a Campaign Keyword
  435. ; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC&piwik_kwd=My killer keyword' ;
  436. ; then it will be counted as a campaign referrer named 'Adwords-CPC' with the keyword 'My killer keyword'
  437. ; Includes by default the GA style campaign keyword parameter utm_term
  438. campaign_keyword_var_name = "pk_kwd,piwik_kwd,pk_keyword,utm_term"
  439. ; maximum length of a Page Title or a Page URL recorded in the log_action.name table
  440. page_maximum_length = 1024;
  441. ; Tracker cache files are the simple caching layer for Tracking.
  442. ; TTL: Time to live for cache files, in seconds. Default to 5 minutes.
  443. tracker_cache_file_ttl = 300
  444. ; Whether Bulk tracking requests to the Tracking API requires the token_auth to be set.
  445. bulk_requests_require_authentication = 0
  446. ; Whether Bulk tracking requests will be wrapped within a DB Transaction.
  447. ; This greatly increases performance of Log Analytics and in general any Bulk Tracking API requests.
  448. bulk_requests_use_transaction = 1
  449. ; Comma separated list of known Referrer Spammers, ie. bot visits that set a fake Referrer field.
  450. ; All Visits with a Referrer URL host set to one of these will be excluded.
  451. ; If you find new spam entries in Referrers>Websites, please report them here: https://github.com/piwik/piwik/issues/5099
  452. referrer_urls_spam = "semalt.com"
  453. ; DO NOT USE THIS SETTING ON PUBLICLY AVAILABLE PIWIK SERVER
  454. ; !!! Security risk: if set to 0, it would allow anyone to push data to Piwik with custom dates in the past/future and even with fake IPs!
  455. ; When using the Tracking API, to override either the datetime and/or the visitor IP,
  456. ; token_auth with an "admin" access is required. If you set this setting to 0, the token_auth will not be required anymore.
  457. ; DO NOT USE THIS SETTING ON PUBLIC PIWIK SERVERS
  458. tracking_requests_require_authentication = 1
  459. [Segments]
  460. ; Reports with segmentation in API requests are processed in real time.
  461. ; On high traffic websites it is recommended to pre-process the data
  462. ; so that the analytics reports are always fast to load.
  463. ; You can define below the list of Segments strings
  464. ; for which all reports should be Archived during the cron execution
  465. ; All segment values MUST be URL encoded.
  466. ;Segments[]="visitorType==new"
  467. ;Segments[]="visitorType==returning"
  468. ; If you define Custom Variables for your visitor, for example set the visit type
  469. ;Segments[]="customVariableName1==VisitType;customVariableValue1==Customer"
  470. [Deletelogs]
  471. ; delete_logs_enable - enable (1) or disable (0) delete log feature. Make sure that all archives for the given period have been processed (setup a cronjob!),
  472. ; otherwise you may lose tracking data.
  473. ; delete_logs_schedule_lowest_interval - lowest possible interval between two table deletes (in days, 1|7|30). Default: 7.
  474. ; delete_logs_older_than - delete data older than XX (days). Default: 180
  475. delete_logs_enable = 0
  476. delete_logs_schedule_lowest_interval = 7
  477. delete_logs_older_than = 180
  478. delete_logs_max_rows_per_query = 100000
  479. enable_auto_database_size_estimate = 1
  480. [Deletereports]
  481. delete_reports_enable = 0
  482. delete_reports_older_than = 12
  483. delete_reports_keep_basic_metrics = 1
  484. delete_reports_keep_day_reports = 0
  485. delete_reports_keep_week_reports = 0
  486. delete_reports_keep_month_reports = 1
  487. delete_reports_keep_year_reports = 1
  488. delete_reports_keep_range_reports = 0
  489. delete_reports_keep_segment_reports = 0
  490. [mail]
  491. defaultHostnameIfEmpty = defaultHostnameIfEmpty.example.org ; default Email @hostname, if current host can't be read from system variables
  492. transport = ; smtp (using the configuration below) or empty (using built-in mail() function)
  493. port = ; optional; defaults to 25 when security is none or tls; 465 for ssl
  494. host = ; SMTP server address
  495. type = ; SMTP Auth type. By default: NONE. For example: LOGIN
  496. username = ; SMTP username
  497. password = ; SMTP password
  498. encryption = ; SMTP transport-layer encryption, either 'ssl', 'tls', or empty (i.e., none).
  499. [proxy]
  500. type = BASIC ; proxy type for outbound/outgoing connections; currently, only BASIC is supported
  501. host = ; Proxy host: the host name of your proxy server (mandatory)
  502. port = ; Proxy port: the port that the proxy server listens to. There is no standard default, but 80, 1080, 3128, and 8080 are popular
  503. username = ; Proxy username: optional; if specified, password is mandatory
  504. password = ; Proxy password: optional; if specified, username is mandatory
  505. [Plugins]
  506. Plugins[] = CorePluginsAdmin
  507. Plugins[] = CoreAdminHome
  508. Plugins[] = CoreHome
  509. Plugins[] = CoreVisualizations
  510. Plugins[] = Proxy
  511. Plugins[] = API
  512. Plugins[] = ExamplePlugin
  513. Plugins[] = Widgetize
  514. Plugins[] = Transitions
  515. Plugins[] = LanguagesManager
  516. Plugins[] = Actions
  517. Plugins[] = Dashboard
  518. Plugins[] = MultiSites
  519. Plugins[] = Referrers
  520. Plugins[] = UserSettings
  521. Plugins[] = DevicesDetection
  522. Plugins[] = Goals
  523. Plugins[] = SEO
  524. Plugins[] = Events
  525. Plugins[] = UserCountry
  526. Plugins[] = VisitsSummary
  527. Plugins[] = VisitFrequency
  528. Plugins[] = VisitTime
  529. Plugins[] = VisitorInterest
  530. Plugins[] = ExampleAPI
  531. Plugins[] = ExampleRssWidget
  532. Plugins[] = Provider
  533. Plugins[] = Feedback
  534. Plugins[] = Login
  535. Plugins[] = UsersManager
  536. Plugins[] = SitesManager
  537. Plugins[] = Installation
  538. Plugins[] = CoreUpdater
  539. Plugins[] = CoreConsole
  540. Plugins[] = ScheduledReports
  541. Plugins[] = UserCountryMap
  542. Plugins[] = Live
  543. Plugins[] = CustomVariables
  544. Plugins[] = PrivacyManager
  545. Plugins[] = ImageGraph
  546. Plugins[] = Annotations
  547. Plugins[] = MobileMessaging
  548. Plugins[] = Overlay
  549. Plugins[] = SegmentEditor
  550. Plugins[] = Insights
  551. Plugins[] = ZenMode
  552. Plugins[] = LeftMenu
  553. Plugins[] = Morpheus
  554. Plugins[] = Contents
  555. [PluginsInstalled]
  556. PluginsInstalled[] = Login
  557. PluginsInstalled[] = CoreAdminHome
  558. PluginsInstalled[] = UsersManager
  559. PluginsInstalled[] = SitesManager
  560. PluginsInstalled[] = Installation
  561. [APISettings]
  562. ; Any key/value pair can be added in this section, they will be available via the REST call
  563. ; index.php?module=API&method=API.getSettings
  564. ; This can be used to expose values from Piwik, to control for example a Mobile app tracking
  565. SDK_batch_size = 10
  566. SDK_interval_value = 30
  567. ; NOTE: do not directly edit this file! See notice at the top