Advertisement
Guest User

global.ini

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