Skip to content

Support configurable options for analytics in amp-story #23032

@Enriqe

Description

@Enriqe

Currently it's not possible to configure AMP Story-specific analytics events since we are using the more general CustomEventTracker class.

We want to be able to support use cases where we modify the behavior of story specific triggers, like limiting the amount of requests that are sent per event, for example.

We should do something similar to videoSpec. So it might look something like this -

{
  on: "story-page-visible"
  storySpec: {
    repeat: false
  }
  vars: {}
}

Related #12191

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions