ampproject / ampproject/amp.dev
Document all component-specific triggers in amp-analytics documentation
- 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
Assessment
This issue has not been assessed yet.