Skip to content

Content-tracking: Make sure an impression was tracked when an interaction is happening #6270

@tsteur

Description

@tsteur

When a user clicks on an interaction, we should check whether we have already tracked the impression as the content must be visible now for sure. If the impression was not tracked before we should track it. Just in case we did not detect the impression became visible etc.

Note: There can be a scroll or timer event that detects the same content became visible as well. This would not be a problem since we do not track same content block twice unless trackPageView was called. This allows us to simple track a content impression when an interaction is happening.

Short or mid term. As it is probably easy to implement maybe rather short term.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions