ampproject / ampproject/amp.dev

Document all component-specific triggers in amp-analytics documentation

Open
#2,345 2 comments 0 reactions 0 assignees View on GitHub
Category: Documentation P2: Medium Type: Update
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

Currently, the `amp-analytics` component reference documentation only mentions component-specific triggers like `amp-access-*` and `amp-video-*`.

https://amp.dev/documentation/components/amp-analytics#access-triggers

There are more component-specific triggers like `amp-carousel-*` for `amp-carousel`, and `amp-form-*` for `amp-form`:

https://github.com/ampproject/amphtml/blob/master/extensions/amp-carousel/amp-carousel-analytics.md

https://github.com/ampproject/amphtml/blob/master/extensions/amp-form/amp-form.md#analytics-triggers

There are `amp-story`-specific triggers too.

We should add documentation about all the component-specific triggers to the `amp-analytics` documentation, or at least have a back reference to the component-specific trigger page.

/cc @zhouyx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.