PageRenderTime 52ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/config/global.ini.php

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