diff options
-rw-r--r-- | plugins/API/API.php | 2 | ||||
-rw-r--r-- | plugins/Actions/Actions.php | 2 | ||||
-rw-r--r-- | plugins/Goals/Goals.php | 7 | ||||
-rw-r--r-- | plugins/Provider/Provider.php | 2 | ||||
-rw-r--r-- | plugins/Referers/Referers.php | 2 | ||||
-rw-r--r-- | plugins/UserCountry/UserCountry.php | 4 | ||||
-rw-r--r-- | plugins/UserSettings/UserSettings.php | 4 | ||||
-rw-r--r-- | plugins/VisitFrequency/VisitFrequency.php | 2 | ||||
-rw-r--r-- | plugins/VisitTime/VisitTime.php | 4 | ||||
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 4 | ||||
-rw-r--r-- | plugins/VisitsSummary/VisitsSummary.php | 2 | ||||
-rw-r--r-- | tests/integration/expected/test_apiGetReportMetadata__API.getReportMetadata.xml | 522 |
12 files changed, 276 insertions, 281 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index 1f08ba80c9..1d4f6215ec 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -199,7 +199,7 @@ class Piwik_API_API $availableReport['uniqueId'] = $uniqueId; } // Sort results to ensure consistent order - ksort($availableReports); + usort($availableReports, array($this, 'sort')); return $availableReports; } diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php index a932390785..a6e869b946 100644 --- a/plugins/Actions/Actions.php +++ b/plugins/Actions/Actions.php @@ -62,7 +62,7 @@ class Piwik_Actions extends Piwik_Plugin $metrics = // Page views URLs, Downloads and Outlinks have the full set of metrics - $reports[$priority = 100] = array( + $reports[] = array( 'category' => Piwik_Translate('Actions_Actions'), 'name' => Piwik_Translate('Actions_SubmenuPages'), 'module' => 'Actions', diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php index cc92fd7476..c3a9abdc85 100644 --- a/plugins/Goals/Goals.php +++ b/plugins/Goals/Goals.php @@ -71,7 +71,7 @@ class Piwik_Goals extends Piwik_Plugin ); // General Goal metrics: conversions, conv rate, revenue - $reports[$priority = 300] = array( + $reports[] = array( 'category' => Piwik_Translate('Goals_Goals'), 'name' => Piwik_Translate('Goals_Goals'), 'module' => 'Goals', @@ -106,14 +106,12 @@ class Piwik_Goals extends Piwik_Plugin if(count($idSites) == 1) { $goals = Piwik_Goals_API::getInstance()->getGoals(reset($idSites)); - $count = 0; foreach($goals as $goal) { // Add the general Goal metrics: ie. total Goal conversions, // Goal conv rate or Goal total revenue. // This API call requires a custom parameter - $priority = 160 + $count; - $reports[$priority] = array( + $reports[] = array( 'category' => Piwik_Translate('Goals_Goals'), 'name' => Piwik_Translate('Goals_GoalX', $goal['name']), 'module' => 'Goals', @@ -122,7 +120,6 @@ class Piwik_Goals extends Piwik_Plugin 'metrics' => $goalMetrics, 'processedMetrics' => false, ); - $count++; } } } diff --git a/plugins/Provider/Provider.php b/plugins/Provider/Provider.php index 0162901efc..69805c6935 100644 --- a/plugins/Provider/Provider.php +++ b/plugins/Provider/Provider.php @@ -45,7 +45,7 @@ class Piwik_Provider extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 40] = array( + $reports[] = array( 'category' => Piwik_Translate('Provider_WidgetProviders'), 'name' => Piwik_Translate('Provider_ColumnProvider'), 'module' => 'Provider', diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php index c6acb92815..82b35f475c 100644 --- a/plugins/Referers/Referers.php +++ b/plugins/Referers/Referers.php @@ -50,7 +50,7 @@ class Piwik_Referers extends Piwik_Plugin { $reports = &$notification->getNotificationObject(); $reports = array_merge($reports, array( - $priority = 200 => array( + array( 'category' => Piwik_Translate('Referers_Referers'), 'name' => Piwik_Translate('Referers_Type'), 'module' => 'Referers', diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php index 7eb532ef5d..22bb33f5a2 100644 --- a/plugins/UserCountry/UserCountry.php +++ b/plugins/UserCountry/UserCountry.php @@ -44,7 +44,7 @@ class Piwik_UserCountry extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 20] = array( + $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('UserCountry_Country'), 'module' => 'UserCountry', @@ -52,7 +52,7 @@ class Piwik_UserCountry extends Piwik_Plugin 'dimension' => Piwik_Translate('UserCountry_Country'), ); - $reports[$priority = 21] = array( + $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('UserCountry_Continent'), 'module' => 'UserCountry', diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php index e38b1bb422..d2454d4ad4 100644 --- a/plugins/UserSettings/UserSettings.php +++ b/plugins/UserSettings/UserSettings.php @@ -75,7 +75,6 @@ class Piwik_UserSettings extends Piwik_Plugin { $reports = &$notification->getNotificationObject(); - $count = 0; foreach($this->reportMetadata as $report) { list( $category, $name, $apiModule, $apiAction, $columnName ) = $report; @@ -97,8 +96,7 @@ class Piwik_UserSettings extends Piwik_Plugin // There is no processedMetrics for this report $report['processedMetrics'] = array(); } - $priority = 30 + $count; - $reports[$priority] = $report; + $reports[] = $report; $count++; } } diff --git a/plugins/VisitFrequency/VisitFrequency.php b/plugins/VisitFrequency/VisitFrequency.php index 6069c30c75..febe492ea4 100644 --- a/plugins/VisitFrequency/VisitFrequency.php +++ b/plugins/VisitFrequency/VisitFrequency.php @@ -43,7 +43,7 @@ class Piwik_VisitFrequency extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 60] = array( + $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('VisitFrequency_ColumnReturningVisits'), 'module' => 'VisitFrequency', diff --git a/plugins/VisitTime/VisitTime.php b/plugins/VisitTime/VisitTime.php index c1b34b6bdc..b702303911 100644 --- a/plugins/VisitTime/VisitTime.php +++ b/plugins/VisitTime/VisitTime.php @@ -43,7 +43,7 @@ class Piwik_VisitTime extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 80] = array( + $reports[] = array( 'category' => Piwik_Translate('VisitsSummary_VisitsSummary'), 'name' => Piwik_Translate('VisitTime_WidgetLocalTime'), 'module' => 'VisitTime', @@ -51,7 +51,7 @@ class Piwik_VisitTime extends Piwik_Plugin 'dimension' => Piwik_Translate('VisitTime_ColumnLocalTime'), ); - $reports[$priority = 81] = array( + $reports[] = array( 'category' => Piwik_Translate('VisitsSummary_VisitsSummary'), 'name' => Piwik_Translate('VisitTime_WidgetServerTime'), 'module' => 'VisitTime', diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index a7136fd91e..51cd182a15 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -43,7 +43,7 @@ class Piwik_VisitorInterest extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 70] = array( + $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('VisitorInterest_WidgetLengths'), 'module' => 'VisitorInterest', @@ -53,7 +53,7 @@ class Piwik_VisitorInterest extends Piwik_Plugin 'processedMetrics' => false, ); - $reports[$priority = 71] = array( + $reports[] = array( 'category' => Piwik_Translate('General_Visitors'), 'name' => Piwik_Translate('VisitorInterest_WidgetPages'), 'module' => 'VisitorInterest', diff --git a/plugins/VisitsSummary/VisitsSummary.php b/plugins/VisitsSummary/VisitsSummary.php index 5d17b1f80b..3eab74952d 100644 --- a/plugins/VisitsSummary/VisitsSummary.php +++ b/plugins/VisitsSummary/VisitsSummary.php @@ -44,7 +44,7 @@ class Piwik_VisitsSummary extends Piwik_Plugin public function getReportMetadata($notification) { $reports = &$notification->getNotificationObject(); - $reports[$priority = 10] = array( + $reports[] = array( 'category' => Piwik_Translate('VisitsSummary_VisitsSummary'), 'name' => Piwik_Translate('VisitsSummary_VisitsSummary'), 'module' => 'VisitsSummary', diff --git a/tests/integration/expected/test_apiGetReportMetadata__API.getReportMetadata.xml b/tests/integration/expected/test_apiGetReportMetadata__API.getReportMetadata.xml index d223b496f7..4834a90d2e 100644 --- a/tests/integration/expected/test_apiGetReportMetadata__API.getReportMetadata.xml +++ b/tests/integration/expected/test_apiGetReportMetadata__API.getReportMetadata.xml @@ -1,91 +1,87 @@ <?xml version="1.0" encoding="utf-8" ?> <result> <row> - <category>Visitor Settings</category> - <name>Screen resolutions</name> - <module>UserSettings</module> - <action>getResolution</action> - <dimension>Resolution</dimension> + <category>Actions</category> + <name>Downloads</name> + <module>Actions</module> + <action>getDownloads</action> + <dimension>Download URL</dimension> <metrics> + <nb_hits>Pageviews</nb_hits> <nb_visits>Visits</nb_visits> - <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> - <nb_actions>Actions</nb_actions> </metrics> - <processedMetrics> - <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> - <avg_time_on_site>Avg. Time on Website</avg_time_on_site> - <bounce_rate>Bounce Rate</bounce_rate> - <conversion_rate>Conversion Rate</conversion_rate> - - </processedMetrics> - <uniqueId>UserSettings_getResolution</uniqueId> + <uniqueId>Actions_getDownloads</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>Visitor browsers</name> - <module>UserSettings</module> - <action>getBrowser</action> - <dimension>Browser</dimension> + <category>Actions</category> + <name>Outlinks</name> + <module>Actions</module> + <action>getOutlinks</action> + <dimension>Clicked URL</dimension> <metrics> + <nb_hits>Pageviews</nb_hits> <nb_visits>Visits</nb_visits> - <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> - <nb_actions>Actions</nb_actions> </metrics> - <processedMetrics> - <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> - <avg_time_on_site>Avg. Time on Website</avg_time_on_site> - <bounce_rate>Bounce Rate</bounce_rate> - <conversion_rate>Conversion Rate</conversion_rate> - - </processedMetrics> - <uniqueId>UserSettings_getBrowser</uniqueId> + <uniqueId>Actions_getOutlinks</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>List of Plugins</name> - <module>UserSettings</module> - <action>getPlugin</action> - <dimension>Plugin</dimension> + <category>Actions</category> + <name>Page titles</name> + <module>Actions</module> + <action>getPageTitles</action> + <dimension>Page Name</dimension> <metrics> + <nb_hits>Pageviews</nb_hits> <nb_visits>Visits</nb_visits> - <nb_visits_percentage>% Visits</nb_visits_percentage> + <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> </metrics> - <uniqueId>UserSettings_getPlugin</uniqueId> + <uniqueId>Actions_getPageTitles</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>Normal / Widescreen</name> - <module>UserSettings</module> - <action>getWideScreen</action> - <dimension>Type of screen</dimension> + <category>Actions</category> + <name>Pages</name> + <module>Actions</module> + <action>getPageUrls</action> + <dimension>Page URL</dimension> <metrics> - <nb_visits>Visits</nb_visits> - <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> - <nb_actions>Actions</nb_actions> + <nb_visits>Unique Pageviews</nb_visits> + <nb_hits>Pageviews</nb_hits> + <entry_nb_visits>Entrances</entry_nb_visits> + <avg_time_on_page>Avg. time on page</avg_time_on_page> + <bounce_rate>Bounce Rate</bounce_rate> + <exit_nb_visits>Exits</exit_nb_visits> + <exit_rate>Exit rate</exit_rate> </metrics> - <processedMetrics> - <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> - <avg_time_on_site>Avg. Time on Website</avg_time_on_site> - <bounce_rate>Bounce Rate</bounce_rate> + <uniqueId>Actions_getPageUrls</uniqueId> + + </row> + <row> + <category>Goals</category> + <name>Goals</name> + <module>Goals</module> + <action>get</action> + <metrics> + <nb_conversions>Conversions</nb_conversions> <conversion_rate>Conversion Rate</conversion_rate> + <revenue>Revenue</revenue> - </processedMetrics> - <uniqueId>UserSettings_getWideScreen</uniqueId> + </metrics> + <uniqueId>Goals_get</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>Browsers by family</name> - <module>UserSettings</module> - <action>getBrowserType</action> - <dimension>Browser family</dimension> + <category>Providers</category> + <name>Provider</name> + <module>Provider</module> + <action>getProvider</action> + <dimension>Provider</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -99,15 +95,15 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <uniqueId>UserSettings_getBrowserType</uniqueId> + <uniqueId>Provider_getProvider</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>Operating systems</name> - <module>UserSettings</module> - <action>getOS</action> - <dimension>Operating system</dimension> + <category>Referrers</category> + <name>Campaigns</name> + <module>Referers</module> + <action>getCampaigns</action> + <dimension>Campaign</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -121,15 +117,25 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <uniqueId>UserSettings_getOS</uniqueId> + <metricsGoal> + <nb_conversions>Conversions</nb_conversions> + <conversion_rate>Conversion Rate</conversion_rate> + <revenue>Revenue</revenue> + + </metricsGoal> + <processedMetricsGoal> + <revenue_per_visit>Value per Visit</revenue_per_visit> + + </processedMetricsGoal> + <uniqueId>Referers_getCampaigns</uniqueId> </row> <row> - <category>Visitor Settings</category> - <name>Global visitors configuration</name> - <module>UserSettings</module> - <action>getConfiguration</action> - <dimension>Configuration</dimension> + <category>Referrers</category> + <name>Keywords</name> + <module>Referers</module> + <action>getKeywords</action> + <dimension>Keyword</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -143,75 +149,25 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <uniqueId>UserSettings_getConfiguration</uniqueId> - - </row> - <row> - <category>Visits Summary</category> - <name>Visits Summary</name> - <module>VisitsSummary</module> - <action>get</action> - <metrics> - <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> - <nb_visits>Visits</nb_visits> - <nb_actions>Actions</nb_actions> - <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> - <bounce_rate>Bounce Rate</bounce_rate> - <avg_time_on_site>Avg. Visit Duration (in seconds)</avg_time_on_site> - <max_actions>Maximum actions in one visit</max_actions> - - </metrics> - <uniqueId>VisitsSummary_get</uniqueId> - - </row> - <row> - <category>Visitors</category> - <name>Returning Visits</name> - <module>VisitFrequency</module> - <action>get</action> - <metrics> - <nb_visits_returning>Returning Visits</nb_visits_returning> - <nb_actions_returning>Actions by Returning Visits</nb_actions_returning> - <avg_time_on_site_returning>Avg. Visit Duration for Returning Visitors (in seconds)</avg_time_on_site_returning> - <bounce_rate_returning>Bounce rate for Returning Visits</bounce_rate_returning> - <nb_actions_per_visit_returning>Avg. Actions per Returning visit</nb_actions_per_visit_returning> - - </metrics> - <uniqueId>VisitFrequency_get</uniqueId> - - </row> - <row> - <category>Visitors</category> - <name>Length of Visits</name> - <module>VisitorInterest</module> - <action>getNumberOfVisitsPerVisitDuration</action> - <dimension>Visit duration</dimension> - <metrics> - <nb_visits>Visits</nb_visits> - - </metrics> - <uniqueId>VisitorInterest_getNumberOfVisitsPerVisitDuration</uniqueId> + <metricsGoal> + <nb_conversions>Conversions</nb_conversions> + <conversion_rate>Conversion Rate</conversion_rate> + <revenue>Revenue</revenue> - </row> - <row> - <category>Visitors</category> - <name>Pages per visit</name> - <module>VisitorInterest</module> - <action>getNumberOfVisitsPerPage</action> - <dimension>Pages per visit</dimension> - <metrics> - <nb_visits>Visits</nb_visits> + </metricsGoal> + <processedMetricsGoal> + <revenue_per_visit>Value per Visit</revenue_per_visit> - </metrics> - <uniqueId>VisitorInterest_getNumberOfVisitsPerPage</uniqueId> + </processedMetricsGoal> + <uniqueId>Referers_getKeywords</uniqueId> </row> <row> - <category>Providers</category> - <name>Provider</name> - <module>Provider</module> - <action>getProvider</action> - <dimension>Provider</dimension> + <category>Referrers</category> + <name>Referrer Type</name> + <module>Referers</module> + <action>getRefererType</action> + <dimension>Referrer Type</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -225,15 +181,25 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <uniqueId>Provider_getProvider</uniqueId> + <metricsGoal> + <nb_conversions>Conversions</nb_conversions> + <conversion_rate>Conversion Rate</conversion_rate> + <revenue>Revenue</revenue> + + </metricsGoal> + <processedMetricsGoal> + <revenue_per_visit>Value per Visit</revenue_per_visit> + + </processedMetricsGoal> + <uniqueId>Referers_getRefererType</uniqueId> </row> <row> - <category>Visitors</category> - <name>Country</name> - <module>UserCountry</module> - <action>getCountry</action> - <dimension>Country</dimension> + <category>Referrers</category> + <name>Search Engines</name> + <module>Referers</module> + <action>getSearchEngines</action> + <dimension>Search Engine</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -257,15 +223,15 @@ <revenue_per_visit>Value per Visit</revenue_per_visit> </processedMetricsGoal> - <uniqueId>UserCountry_getCountry</uniqueId> + <uniqueId>Referers_getSearchEngines</uniqueId> </row> <row> - <category>Visitors</category> - <name>Continent</name> - <module>UserCountry</module> - <action>getContinent</action> - <dimension>Continent</dimension> + <category>Referrers</category> + <name>Websites</name> + <module>Referers</module> + <action>getWebsites</action> + <dimension>Website</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -289,15 +255,15 @@ <revenue_per_visit>Value per Visit</revenue_per_visit> </processedMetricsGoal> - <uniqueId>UserCountry_getContinent</uniqueId> + <uniqueId>Referers_getWebsites</uniqueId> </row> <row> - <category>Visits Summary</category> - <name>Visits by local time</name> - <module>VisitTime</module> - <action>getVisitInformationPerLocalTime</action> - <dimension>Local time</dimension> + <category>Visitor Settings</category> + <name>Visitor browsers</name> + <module>UserSettings</module> + <action>getBrowser</action> + <dimension>Browser</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -311,15 +277,15 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <uniqueId>VisitTime_getVisitInformationPerLocalTime</uniqueId> + <uniqueId>UserSettings_getBrowser</uniqueId> </row> <row> - <category>Visits Summary</category> - <name>Visits by server time</name> - <module>VisitTime</module> - <action>getVisitInformationPerServerTime</action> - <dimension>Server time</dimension> + <category>Visitor Settings</category> + <name>Browsers by family</name> + <module>UserSettings</module> + <action>getBrowserType</action> + <dimension>Browser family</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -333,25 +299,37 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <metricsGoal> - <nb_conversions>Conversions</nb_conversions> - <conversion_rate>Conversion Rate</conversion_rate> - <revenue>Revenue</revenue> + <uniqueId>UserSettings_getBrowserType</uniqueId> - </metricsGoal> - <processedMetricsGoal> - <revenue_per_visit>Value per Visit</revenue_per_visit> + </row> + <row> + <category>Visitor Settings</category> + <name>Global visitors configuration</name> + <module>UserSettings</module> + <action>getConfiguration</action> + <dimension>Configuration</dimension> + <metrics> + <nb_visits>Visits</nb_visits> + <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> + <nb_actions>Actions</nb_actions> - </processedMetricsGoal> - <uniqueId>VisitTime_getVisitInformationPerServerTime</uniqueId> + </metrics> + <processedMetrics> + <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> + <avg_time_on_site>Avg. Time on Website</avg_time_on_site> + <bounce_rate>Bounce Rate</bounce_rate> + <conversion_rate>Conversion Rate</conversion_rate> + + </processedMetrics> + <uniqueId>UserSettings_getConfiguration</uniqueId> </row> <row> - <category>Referrers</category> - <name>Referrer Type</name> - <module>Referers</module> - <action>getRefererType</action> - <dimension>Referrer Type</dimension> + <category>Visitor Settings</category> + <name>Operating systems</name> + <module>UserSettings</module> + <action>getOS</action> + <dimension>Operating system</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -365,25 +343,29 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <metricsGoal> - <nb_conversions>Conversions</nb_conversions> - <conversion_rate>Conversion Rate</conversion_rate> - <revenue>Revenue</revenue> + <uniqueId>UserSettings_getOS</uniqueId> - </metricsGoal> - <processedMetricsGoal> - <revenue_per_visit>Value per Visit</revenue_per_visit> + </row> + <row> + <category>Visitor Settings</category> + <name>List of Plugins</name> + <module>UserSettings</module> + <action>getPlugin</action> + <dimension>Plugin</dimension> + <metrics> + <nb_visits>Visits</nb_visits> + <nb_visits_percentage>% Visits</nb_visits_percentage> - </processedMetricsGoal> - <uniqueId>Referers_getRefererType</uniqueId> + </metrics> + <uniqueId>UserSettings_getPlugin</uniqueId> </row> <row> - <category>Referrers</category> - <name>Keywords</name> - <module>Referers</module> - <action>getKeywords</action> - <dimension>Keyword</dimension> + <category>Visitor Settings</category> + <name>Screen resolutions</name> + <module>UserSettings</module> + <action>getResolution</action> + <dimension>Resolution</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -397,25 +379,15 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <metricsGoal> - <nb_conversions>Conversions</nb_conversions> - <conversion_rate>Conversion Rate</conversion_rate> - <revenue>Revenue</revenue> - - </metricsGoal> - <processedMetricsGoal> - <revenue_per_visit>Value per Visit</revenue_per_visit> - - </processedMetricsGoal> - <uniqueId>Referers_getKeywords</uniqueId> + <uniqueId>UserSettings_getResolution</uniqueId> </row> <row> - <category>Referrers</category> - <name>Websites</name> - <module>Referers</module> - <action>getWebsites</action> - <dimension>Website</dimension> + <category>Visitor Settings</category> + <name>Normal / Widescreen</name> + <module>UserSettings</module> + <action>getWideScreen</action> + <dimension>Type of screen</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -429,25 +401,31 @@ <conversion_rate>Conversion Rate</conversion_rate> </processedMetrics> - <metricsGoal> - <nb_conversions>Conversions</nb_conversions> - <conversion_rate>Conversion Rate</conversion_rate> - <revenue>Revenue</revenue> + <uniqueId>UserSettings_getWideScreen</uniqueId> - </metricsGoal> - <processedMetricsGoal> - <revenue_per_visit>Value per Visit</revenue_per_visit> + </row> + <row> + <category>Visitors</category> + <name>Returning Visits</name> + <module>VisitFrequency</module> + <action>get</action> + <metrics> + <nb_visits_returning>Returning Visits</nb_visits_returning> + <nb_actions_returning>Actions by Returning Visits</nb_actions_returning> + <avg_time_on_site_returning>Avg. Visit Duration for Returning Visitors (in seconds)</avg_time_on_site_returning> + <bounce_rate_returning>Bounce rate for Returning Visits</bounce_rate_returning> + <nb_actions_per_visit_returning>Avg. Actions per Returning visit</nb_actions_per_visit_returning> - </processedMetricsGoal> - <uniqueId>Referers_getWebsites</uniqueId> + </metrics> + <uniqueId>VisitFrequency_get</uniqueId> </row> <row> - <category>Referrers</category> - <name>Search Engines</name> - <module>Referers</module> - <action>getSearchEngines</action> - <dimension>Search Engine</dimension> + <category>Visitors</category> + <name>Continent</name> + <module>UserCountry</module> + <action>getContinent</action> + <dimension>Continent</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -471,15 +449,15 @@ <revenue_per_visit>Value per Visit</revenue_per_visit> </processedMetricsGoal> - <uniqueId>Referers_getSearchEngines</uniqueId> + <uniqueId>UserCountry_getContinent</uniqueId> </row> <row> - <category>Referrers</category> - <name>Campaigns</name> - <module>Referers</module> - <action>getCampaigns</action> - <dimension>Campaign</dimension> + <category>Visitors</category> + <name>Country</name> + <module>UserCountry</module> + <action>getCountry</action> + <dimension>Country</dimension> <metrics> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> @@ -503,83 +481,105 @@ <revenue_per_visit>Value per Visit</revenue_per_visit> </processedMetricsGoal> - <uniqueId>Referers_getCampaigns</uniqueId> + <uniqueId>UserCountry_getCountry</uniqueId> </row> <row> - <category>Actions</category> - <name>Pages</name> - <module>Actions</module> - <action>getPageUrls</action> - <dimension>Page URL</dimension> + <category>Visitors</category> + <name>Pages per visit</name> + <module>VisitorInterest</module> + <action>getNumberOfVisitsPerPage</action> + <dimension>Pages per visit</dimension> <metrics> - <nb_visits>Unique Pageviews</nb_visits> - <nb_hits>Pageviews</nb_hits> - <entry_nb_visits>Entrances</entry_nb_visits> - <avg_time_on_page>Avg. time on page</avg_time_on_page> - <bounce_rate>Bounce Rate</bounce_rate> - <exit_nb_visits>Exits</exit_nb_visits> - <exit_rate>Exit rate</exit_rate> + <nb_visits>Visits</nb_visits> </metrics> - <uniqueId>Actions_getPageUrls</uniqueId> + <uniqueId>VisitorInterest_getNumberOfVisitsPerPage</uniqueId> </row> <row> - <category>Actions</category> - <name>Outlinks</name> - <module>Actions</module> - <action>getOutlinks</action> - <dimension>Clicked URL</dimension> + <category>Visitors</category> + <name>Length of Visits</name> + <module>VisitorInterest</module> + <action>getNumberOfVisitsPerVisitDuration</action> + <dimension>Visit duration</dimension> <metrics> - <nb_hits>Pageviews</nb_hits> <nb_visits>Visits</nb_visits> </metrics> - <uniqueId>Actions_getOutlinks</uniqueId> + <uniqueId>VisitorInterest_getNumberOfVisitsPerVisitDuration</uniqueId> </row> <row> - <category>Actions</category> - <name>Downloads</name> - <module>Actions</module> - <action>getDownloads</action> - <dimension>Download URL</dimension> + <category>Visits Summary</category> + <name>Visits Summary</name> + <module>VisitsSummary</module> + <action>get</action> <metrics> - <nb_hits>Pageviews</nb_hits> + <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> <nb_visits>Visits</nb_visits> + <nb_actions>Actions</nb_actions> + <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> + <bounce_rate>Bounce Rate</bounce_rate> + <avg_time_on_site>Avg. Visit Duration (in seconds)</avg_time_on_site> + <max_actions>Maximum actions in one visit</max_actions> </metrics> - <uniqueId>Actions_getDownloads</uniqueId> + <uniqueId>VisitsSummary_get</uniqueId> </row> <row> - <category>Actions</category> - <name>Page titles</name> - <module>Actions</module> - <action>getPageTitles</action> - <dimension>Page Name</dimension> + <category>Visits Summary</category> + <name>Visits by local time</name> + <module>VisitTime</module> + <action>getVisitInformationPerLocalTime</action> + <dimension>Local time</dimension> <metrics> - <nb_hits>Pageviews</nb_hits> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> + <nb_actions>Actions</nb_actions> </metrics> - <uniqueId>Actions_getPageTitles</uniqueId> + <processedMetrics> + <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> + <avg_time_on_site>Avg. Time on Website</avg_time_on_site> + <bounce_rate>Bounce Rate</bounce_rate> + <conversion_rate>Conversion Rate</conversion_rate> + + </processedMetrics> + <uniqueId>VisitTime_getVisitInformationPerLocalTime</uniqueId> </row> <row> - <category>Goals</category> - <name>Goals</name> - <module>Goals</module> - <action>get</action> + <category>Visits Summary</category> + <name>Visits by server time</name> + <module>VisitTime</module> + <action>getVisitInformationPerServerTime</action> + <dimension>Server time</dimension> <metrics> + <nb_visits>Visits</nb_visits> + <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> + <nb_actions>Actions</nb_actions> + + </metrics> + <processedMetrics> + <nb_actions_per_visit>Actions per Visit</nb_actions_per_visit> + <avg_time_on_site>Avg. Time on Website</avg_time_on_site> + <bounce_rate>Bounce Rate</bounce_rate> + <conversion_rate>Conversion Rate</conversion_rate> + + </processedMetrics> + <metricsGoal> <nb_conversions>Conversions</nb_conversions> <conversion_rate>Conversion Rate</conversion_rate> <revenue>Revenue</revenue> - </metrics> - <uniqueId>Goals_get</uniqueId> + </metricsGoal> + <processedMetricsGoal> + <revenue_per_visit>Value per Visit</revenue_per_visit> + + </processedMetricsGoal> + <uniqueId>VisitTime_getVisitInformationPerServerTime</uniqueId> </row> |