Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-09-06 06:37:42 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-06 06:37:42 +0400
commit693c27f8b76b93199154a1e77c0e6c13c3189e26 (patch)
tree6cdd111129ab6dff0356209b6b2b6c5be4023cbe /plugins/API
parente847725313534a65d5c8195601ada2bc66eda395 (diff)
Ignore new google and facebook bots http://forum.piwik.org/read.php?2,106051
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php
index 4181881132..16b3a50c5f 100644
--- a/plugins/API/API.php
+++ b/plugins/API/API.php
@@ -98,7 +98,7 @@ class API
$isAuthenticatedWithViewAccess = Piwik::isUserHasViewAccess($idSites) && !Piwik::isUserIsAnonymous();
$segments[] = array(
- 'type' => 'dimension',
+ 'type' => 'metric',
'category' => Piwik_Translate('General_Visit'),
'name' => 'General_VisitorIP',
'segment' => 'visitIp',