Skip to content
Extraits de code Groupes Projets
Valider 89fe7445 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

should fix some tests since we added some example reports and dimensions

parent b76f2015
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 69 ajouts et 0 suppression
<?xml version="1.0" encoding="utf-8" ?>
<result />
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<result />
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<nb_visits>5</nb_visits>
</row>
</result>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<nb_visits>5</nb_visits>
</row>
</result>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<category>ExampleCategory</category>
<name>ExampleReportName</name>
<module>ExamplePlugin</module>
<action>getExampleReport</action>
<dimension>Exit Page URL</dimension>
<documentation>ExampleReportDocumentation</documentation>
<metrics>
<nb_visits>Visits</nb_visits>
<nb_uniq_visitors>Unique visitors</nb_uniq_visitors>
<nb_actions>Actions</nb_actions>
</metrics>
<metricsDocumentation>
<nb_visits>If a visitor comes to your website for the first time or if he visits a page more than 30 minutes after his last page view, this will be recorded as a new visit.</nb_visits>
<nb_uniq_visitors>The number of unduplicated visitors coming to your website. Every user is only counted once, even if he visits the website multiple times a day.</nb_uniq_visitors>
<nb_actions>The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.</nb_actions>
</metricsDocumentation>
<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>
<imageGraphUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=ExamplePlugin&amp;apiAction=getExampleReport&amp;period=day&amp;date=2009-01-04</imageGraphUrl>
<imageGraphEvolutionUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=ExamplePlugin&amp;apiAction=getExampleReport&amp;period=day&amp;date=2008-12-06,2009-01-04</imageGraphEvolutionUrl>
<uniqueId>ExamplePlugin_getExampleReport</uniqueId>
</row>
<row>
<category>All Websites</category>
<name>All Websites dashboard</name>
......
......@@ -246,6 +246,13 @@
<name>Event Name</name>
<segment>eventName</segment>
</row>
<row>
<type>dimension</type>
<category>Enter Segment Category Name</category>
<name>ExamplePlugin_DimensionName</name>
<segment>achievementPoints</segment>
<acceptedValues>Here you should explain which values are accepted/useful: Any number, for instance 1, 2, 3 , 99</acceptedValues>
</row>
<row>
<type>dimension</type>
<category>Custom Variables</category>
......@@ -378,6 +385,13 @@
<name>Entry Page title</name>
<segment>entryPageTitle</segment>
</row>
<row>
<type>dimension</type>
<category>Actions</category>
<name>ExamplePlugin_DimensionName</name>
<segment>keywords</segment>
<acceptedValues>Here you should explain which values are accepted/useful: Any word, for instance MyKeyword1, MyKeyword2</acceptedValues>
</row>
<row>
<type>dimension</type>
<category>Actions</category>
......
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<nb_visits>5</nb_visits>
</row>
</result>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>
<nb_visits>5</nb_visits>
</row>
</result>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter