Skip to content

Fix counting impressions based using distinct play_id instead of page_view_id #72

@matus-tomlein

Description

Describe the bug

Impressions in the media base table are counted as the number of distinct page views. However, this is imprecise as there may be multiple videos per page, which then leads to the play rate being higher than 1 (the number of plays is more than the number of page views).

Expected results

A better solution would be to use the number of distinct play_id as the number of impressions. This would take into account all the loaded videos on the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:needs_triageNeeds maintainer triage.type:bugBugs or weaknesses. The issue has to contain steps to reproduce.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions