Skip to content
Extraits de code Groupes Projets
global.ini.php 9,25 ko
Newer Older
  • Learn to ignore specific revisions
  • ; <?php exit; ?> DO NOT REMOVE THIS LINE
    
    ; If you want to change some of these default values, the best practise is to override 
    ; them in your configuration file in config/config.ini.php. If you directly edit this file,
    ; you risk losing your changes when you upgrade Piwik. 
    ; For example if you override enable_browser_archiving_triggering, 
    ; edit config/config.ini.php and add the following:
    ; [General]
    ; enable_browser_archiving_triggering = false
    
    
    password		= 
    
    mattpiwik's avatar
    mattpiwik a validé
    [database]
    
    host			= 
    username		= 
    password		= 
    dbname			= 
    tables_prefix	= 
    
    adapter			= PDO_MYSQL ; PDO_MYSQL or MYSQLI
    
    mattpiwik's avatar
    mattpiwik a validé
    
    
    mattpiwik's avatar
    mattpiwik a validé
    [database_tests]
    
    host 			= localhost
    username 		= root
    
    mattpiwik's avatar
    mattpiwik a validé
    tables_prefix	= piwiktests_
    
    adapter 		= PDO_MYSQL
    
    [Debug]
    ; if set to true, the archiving process will always be triggered, even if the archive has already been computed
    
    ; this is useful when making changes to the archiving code so we can force the archiving process
    
    mattpiwik's avatar
     
    mattpiwik a validé
    always_archive_data = false
    
    ; if set to true, all the SQL queries will be recorded by the profiler 
    ; and a profiling summary will be printed at the end of the request
    enable_sql_profiler = false
    
    
    [General]
    ; Time in seconds after which an archive will be computed again. 
    ; This setting is used only for today's statistics.
    
    ; Defaults to 10 seconds so that by default, Piwik provides real time reporting.
    
    mattpiwik's avatar
     
    mattpiwik a validé
    time_before_archive_considered_outdated = 10
    
    ; When loading piwik interface, we redirect the user to 'yesterday' statistics by default
    ; Possible values: yesterday, today, or any YYYY-MM-DD
    default_day = yesterday
    
    
    ; When loading piwik interface, Piwik will load by default the CoreHome module
    ; You can override the setting to force the user to login. 
    ; This is useful when you have some websites view "anonymous" access but you want to 
    ; force users to login instead of viewing the first anonymous website available 
    
    mattpiwik's avatar
     
    mattpiwik a validé
    default_module_login = false
    
    ; When loading the piwik interface in the browser (as opposed to from the PHP-CLI client)
    ; should we launch the archiving process if the archives have not yet been processed?
    
    mattpiwik's avatar
    mattpiwik a validé
    ; You want to set it to false when triggering the archiving is done through a crontab, 
    
    ; so that your users do not trigger archiving in their browser when this is not expected
    enable_browser_archiving_triggering = true
    
    
    ; character used to automatically create categories in the "Action" "Downloads" reports
    ; for example a URL like "example.com/blog/development/first-post" will create 
    ; the page first-post in the subcategory development which belongs to the blog category
    
    action_category_delimiter = /
    
    
    ; currency used by default when reporting money in Piwik
    default_currency = "$"
    
    
    mattpiwik's avatar
     
    mattpiwik a validé
    ; if you want all your users to use Piwik in only one language, disable the LanguagesManager
    ; plugin, and set this default_language (users won't see the language drop down) 
    default_language = en
    
    
    ; default sorting order used by all datatables (desc or asc)
    dataTable_default_sort_order = desc
    
    ; default number of elements in the datatable
    
    dataTable_default_limit = 10
    
    ; if set to true, the website selector will be displayed in the Piwik UI
    ; if your Piwik installation has thousands of websites, you may disable the website selector
    ; as it slows down the loading of the Piwik UI by setting this value to false
    show_website_selector_in_user_interface = true
    
    
    ; PHP minimum required version (minimum requirement known to date = ->newInstanceArgs)
    
    minimum_php_version = 5.1.3
    
    mattpiwik's avatar
    mattpiwik a validé
    
    
    ; MySQL minimum required version
    minimum_mysql_version = 4.1
    
    
    ; Minimum adviced memory limit in php.ini file (see memory_limit value)
    
    mattpiwik's avatar
    mattpiwik a validé
    minimum_memory_limit = 128
    
    ; login cookie name
    login_cookie_name = piwik_auth
    
    ; login cookie expiration (30 days)
    login_cookie_expire = 2592000
    
    
    ; email address that appears as a Sender in the password recovery email
    ; if specified, {DOMAIN} will be replaced by the current Piwik domain
    login_password_recovery_email_address = "password-recovery@{DOMAIN}"
    
    ; name that appears as a Sender in the password recovery email
    login_password_recovery_email_name = Piwik
    
    
    ; during archiving, Piwik will limit the number of results recorded, for performance reasons
    ; maximum number of rows for any of the Referers tables (keywords, search engines, campaigns, etc.)
    datatable_archiving_maximum_rows_referers = 500
    ; maximum number of rows for any of the Referers subtable (search engines by keyword, keyword by campaign, etc.)
    datatable_archiving_maximum_rows_subtable_referers = 50
    
    mattpiwik's avatar
    mattpiwik a validé
    
    ; maximum number of rows for any of the Actions tables (pages, downloads, outlinks)
    datatable_archiving_maximum_rows_actions = 500
    
    ; maximum number of rows for pages in categories (sub pages, when clicking on the + for a page category)
    datatable_archiving_maximum_rows_subtable_actions = 100
    
    
    ; set to 0 if you want to stop tracking the visitors. Useful if you need to stop all the connections on the DB.
    
    ; this action name is used when the javascript variable piwik_action_name is not specified in the piwik javascript code, and when the URL has no path.
    
    ; length of a visit in seconds. If a visitor comes back on the website visit_standard_length seconds after his last page view, it will be recorded as a new visit  
    visit_standard_length       = 1800
    
    
    ; visitors that stay on the website and view only one page will be considered staying 10 seconds
    
    default_time_one_page_visit = 10
    
    
    ; variable name used to specify a download link
    ; Example: '/piwik.php?idsite=1&download=http://piwik.org/piwik.zip' will redirect to 'http://piwik.org/piwik.zip'
    
    
    ; variable name used to specify a link to an external website
    ; Example: '/piwik.php?idsite=1&link=http://piwik.org/' will redirect to 'http://piwik.org/'
    
    
    ; variable that contains the name of the download or the outlink to redirect to
    ; Example: '/piwik.php?idsite=1&download=http://piwik.org/piwik.zip&name=Piwik last version'
    
    
    ; variable name to track any campaign, for example CPC campaign
    ; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC' then it will be counted as a campaign referer named 'Adwords-CPC'
    
    campaign_var_name			= piwik_campaign
    
    
    ; variable name to track any campaign keyword
    ; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC&piwik_kwd=My killer keyword' then it will be counted as a campaign referer named 'Adwords-CPC' with the keyword 'My killer keyword'
    
    campaign_keyword_var_name	= piwik_kwd
    
    
    ; name of the cookie used to store the visitor information
    
    cookie_name	= piwik_visitor
    
    ; by default, the Piwik tracking cookie expires in 2 years
    cookie_expire = 63072000
    
    
    ; if set to false, any goal conversion will be credited to the last more recent non empty referer. 
    ; when set to true, the first ever referer used to reach the website will be used
    use_first_referer_to_determine_goal_referer = false
    
    ; if set to true, Piwik will try to match visitors without cookie to a previous visitor that has the same
    ; configuration: OS, browser, resolution, IP, etc. This heuristic adds an extra SQL query for each page view without cookie. 
    ; it is advised to set it to true for more accurate detection of unique visitors.
    ; However when most users have the same IP, and the same configuration, it is advised to set it to false
    
    mattpiwik's avatar
    mattpiwik a validé
    enable_detect_unique_visitor_using_settings = true
    
    ; if set to true, Piwik attempts a "best guess" at the visitor's country of
    ; origin when the preferred language tag omits region information.
    ; The mapping is defined in core/DataFiles/LanguageToCountry.php,
    enable_language_to_country_guess = true
    
    
    ;possible values for log: screen, database, file
    
    mattpiwik's avatar
    mattpiwik a validé
    ; normal messages
    
    mattpiwik's avatar
    mattpiwik a validé
    logger_message[]		= screen
    
    logger_error[]			= screen
    logger_exception[]		= screen
    
    mattpiwik's avatar
    mattpiwik a validé
    
    
    ; all calls to the API (method name, parameters, execution time, caller IP, etc.)
    ;logger_api_call[]		= file
    
    [log_tests]
    logger_message[]		= screen
    logger_api_call[]		= screen
    logger_error[]			= screen
    logger_exception[]		= screen
    
    log				= tmp/logs/
    
    mattpiwik's avatar
    mattpiwik a validé
    [smarty]
    
    ; the list of directories in which to look for templates
    
    template_dir[]	= plugins
    template_dir[]	= themes/default
    
    template_dir[]	= themes
    
    plugins_dir[] 	= libs/Smarty/plugins
    
    plugins_dir[]	= core/SmartyPlugins
    
    mattpiwik's avatar
    mattpiwik a validé
    compile_dir		= tmp/templates_c
    
    ; error reporting inside Smarty
    
    ; allow smarty debugging using {debug}
    
    
    
    [Plugins]
    Plugins[] 		= CorePluginsAdmin
    Plugins[] 		= CoreAdminHome
    Plugins[] 		= CoreHome
    Plugins[] 		= API
    Plugins[] 		= Widgetize
    Plugins[] 		= LanguagesManager
    Plugins[] 		= Actions
    Plugins[] 		= Dashboard
    Plugins[] 		= Referers
    Plugins[] 		= UserSettings
    
    Plugins[] 		= UserCountry
    Plugins[] 		= VisitsSummary
    Plugins[] 		= VisitFrequency
    Plugins[] 		= VisitTime
    Plugins[] 		= VisitorInterest
    Plugins[] 		= ExampleAPI
    Plugins[] 		= ExamplePlugin
    Plugins[]		= ExampleRssWidget
    Plugins[] 		= ExampleFeedburner
    Plugins[] 		= ExampleRssWidget
    Plugins[] 		= Provider
    Plugins[]		= Feedback
    
    Plugins[] 		= Login
    Plugins[] 		= UsersManager
    Plugins[] 		= SitesManager
    Plugins[] 		= Installation
    
    [PluginsInstalled]
    PluginsInstalled[] = Login
    PluginsInstalled[] = CoreAdminHome
    PluginsInstalled[] = UsersManager
    PluginsInstalled[] = SitesManager
    PluginsInstalled[] = Installation
    
    [Plugins_Tracker]
    Plugins_Tracker[] = Provider