diff options
-rw-r--r-- | js/piwik.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js index fa05e5e58d..94816854a8 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -5520,7 +5520,12 @@ if (typeof Piwik !== 'object') { /** * Set array of domains to be treated as local. Also supports path, eg '.piwik.org/subsite1'. In this * case all links that don't go to '*.piwik.org/subsite1/ *' would be treated as outlinks. - * For example a link to 'piwik.org/' or 'piwik.org/subsite2' both would be treated as outlinks + * For example a link to 'piwik.org/' or 'piwik.org/subsite2' both would be treated as outlinks. + * + * We might automatically set a cookieConfigPath to avoid creating several cookies under one domain + * if there is a hostAlias defined with a path. Say a user is visiting 'http://piwik.org/subsite1' + * and '.piwik.org/subsite1' is set as a hostsAlias. Piwik will automatically use '/subsite1' as + * cookieConfigPath. * * @param string|array hostsAlias */ |