Skip to content
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

MediaAnalytics plugin breaks unique visitors metric in Piwik 2.x #11486

Closed
toebu opened this issue Mar 14, 2017 · 4 comments
Closed

MediaAnalytics plugin breaks unique visitors metric in Piwik 2.x #11486

toebu opened this issue Mar 14, 2017 · 4 comments
Assignees
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@toebu
Copy link

toebu commented Mar 14, 2017

After installing and enabling the MediaAnalytics plugin in Piwik 2.17.1, the "unique visitors" metric in the Visitors -> Overview report is broken (displayed as 0 for all time periods).
screenshot_20170314_142126

When exporting the data, one can see that the "nb_uniq_visitors" metric is missing:

{
    "nb_visits": 52119,
    "nb_users": 0,
    "nb_actions": 326033,
    "max_actions": 861,
    "bounce_count": 18823,
    "sum_visit_length": 21383646,
    "nb_visits_returning": 42279,
    "nb_actions_returning": 281998,
    "nb_uniq_visitors_returning": 17184,
    "nb_users_returning": 0,
    "max_actions_returning": 861,
    "bounce_rate_returning": "35%",
    "nb_actions_per_visit_returning": 6.7,
    "avg_time_on_site_returning": "00:07:37",
    "nb_plays": 0,
    "nb_unique_visitors_plays": 0,
    "nb_impressions": 0,
    "nb_unique_visitors_impressions": 0,
    "nb_finishes": 0,
    "sum_total_time_watched": 0,
    "sum_total_audio_plays": 0,
    "sum_total_audio_impressions": 0,
    "sum_total_video_plays": 0,
    "sum_total_video_impressions": 0,
    "nb_conversions": 0,
    "nb_visits_converted": 0,
    "revenue": 0,
    "conversion_rate": "0%",
    "nb_conversions_new_visit": 0,
    "nb_visits_converted_new_visit": 0,
    "revenue_new_visit": 0,
    "conversion_rate_new_visit": "0%",
    "nb_conversions_returning_visit": 0,
    "nb_visits_converted_returning_visit": 0,
    "revenue_returning_visit": 0,
    "conversion_rate_returning_visit": "0%",
    "nb_pageviews": 126128,
    "nb_uniq_pageviews": 80429,
    "nb_downloads": 1536,
    "nb_uniq_downloads": 1409,
    "nb_outlinks": 4630,
    "nb_uniq_outlinks": 4007,
    "nb_searches": 133877,
    "nb_keywords": 500,
    "nb_hits_with_time_generation": 60853,
    "avg_time_generation": "0.38s",
    "bounce_rate": "36%",
    "nb_actions_per_visit": 6.3,
    "avg_time_on_site": "00:06:50",
    "play_rate": "0%",
    "finish_rate": "0%",
    "impression_rate": "0%"
}

When disabling the plugin, the report displays correctly again and the data looks like this:

{
    "nb_uniq_visitors": 24971,
    "nb_visits": 52119,
    "nb_users": 0,
    "nb_actions": 326033,
    "max_actions": 861,
    "bounce_count": 18823,
    "sum_visit_length": 21383646,
    "nb_visits_returning": 42279,
    "nb_actions_returning": 281998,
    "nb_uniq_visitors_returning": 17184,
    "nb_users_returning": 0,
    "max_actions_returning": 861,
    "bounce_rate_returning": "35%",
    "nb_actions_per_visit_returning": 6.7,
    "avg_time_on_site_returning": "00:07:37",
    "nb_conversions": 0,
    "nb_visits_converted": 0,
    "revenue": 0,
    "conversion_rate": "0%",
    "nb_conversions_new_visit": 0,
    "nb_visits_converted_new_visit": 0,
    "revenue_new_visit": 0,
    "conversion_rate_new_visit": "0%",
    "nb_conversions_returning_visit": 0,
    "nb_visits_converted_returning_visit": 0,
    "revenue_returning_visit": 0,
    "conversion_rate_returning_visit": "0%",
    "nb_pageviews": 126128,
    "nb_uniq_pageviews": 80429,
    "nb_downloads": 1536,
    "nb_uniq_downloads": 1409,
    "nb_outlinks": 4630,
    "nb_uniq_outlinks": 4007,
    "nb_searches": 133877,
    "nb_keywords": 500,
    "nb_hits_with_time_generation": 60853,
    "avg_time_generation": "0.38s",
    "bounce_rate": "36%",
    "nb_actions_per_visit": 6.3,
    "avg_time_on_site": "00:06:50"
}
@mattab mattab added this to the 3.0.3 milestone Mar 14, 2017
@mattab
Copy link
Member

mattab commented Mar 14, 2017

Thanks for the report @toebu - the bug also occurs on Piwik 3 and we will take a look.

@tsteur tsteur self-assigned this Mar 14, 2017
@tsteur
Copy link
Member

tsteur commented Mar 14, 2017

Issue is fixed and we'll release new version soon

@tsteur tsteur closed this as completed Mar 14, 2017
@tsteur
Copy link
Member

tsteur commented Mar 14, 2017

Thanks for reporting @toebu

@toebu
Copy link
Author

toebu commented Mar 15, 2017

And thank you for the super quick fix!

@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

3 participants