Skip to content

[amp-analytics] problem of supporting minVisiblePercentage & maxVisiblePercentage #5942

@lannka

Description

@lannka

We plan to move the visibility tracking to IntersectionObserver based implementation (#5697). However, because IntersectionObserver only fires at a list of pre-specified thresholds, metrics like minVisiblePercentage and maxVisiblePercentage will not be available.

An approximate is achievable by specifying a fine grained list of thresholds, for example from 0 to 1 with step of 0.05. Is it something we should go for or we can stop supporting this anymore.

@avimehta @rudygalfi

/cc @jasti @cramforce

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions