New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
little VisitsSummary Evolution Wrapper #1773
Comments
Attachment: VisitsSummaryEvolution Plugin Source |
Installed it but gives me this error: <?xml version="1.0" encoding="utf-8" ?> Is it possible to have the daily chart show the last 30 days, instead of starting with the first of the current month? |
Hi Wolfgang. Have you activated the VisitsSummaryEvolution plugin in the piwik settings? |
arni, After a few patches things are working great for me now, you can see the PNG chart at the bottom of our homepage at http://en.qi-hardware.com I ended up with a few patches I thought I list here: ---1
---2 +++ ImageGraph/ImageGraphObject.php
---3 +++ VisitsSummaryEvolution/API.php
---4 +++ VisitsSummaryEvolution/API.php
Overall - thanks a lot! It all works for me now and I'm sure things will slowly improve over time, hopefully these plugins get integrated into Piwik proper. |
This plugin provides three functions:
In the getVisitsSummaryDailyEvolution function a VisitsSummary.get report is fetched foreach day in given period and date.
The date of each day is added to the according report as label.
example:
Call getVisitsSummaryDailyEvolution
with period = month
and date = yesterday (i.e. 2010-10-16)
return(xml):
<result>
<row>
<label>01.10</label>
<nb_visits>0</nb_visits>
<nb_uniq_visitors>0</nb_uniq_visitors>
<nb_visits_converted>0</nb_visits_converted>
<bounce_count>0</bounce_count>
<sum_visit_length>0</sum_visit_length>
<nb_actions>0</nb_actions>
</row>
<row>
<label>02.10</label>
<nb_visits>0</nb_visits>
<nb_uniq_visitors>0</nb_uniq_visitors>
<nb_visits_converted>0</nb_visits_converted>
<bounce_count>0</bounce_count>
<sum_visit_length>0</sum_visit_length>
<nb_actions>0</nb_actions>
</row>
<row>...</row>
...
...
...
<row>
<label>16.10</label>
<nb_visits>0</nb_visits>
<nb_uniq_visitors>0</nb_uniq_visitors>
<nb_visits_converted>0</nb_visits_converted>
<bounce_count>0</bounce_count>
<sum_visit_length>0</sum_visit_length>
<nb_actions>0</nb_actions>
</row>
</result>
Analogous in getVisitsSummaryWeeklyEvolution every week is fetched for the given date and period.
In getVisitsSummaryMonthlyEvolution every month.
Keywords: third-party-plugin
The text was updated successfully, but these errors were encountered: