Open zhangsu opened 5 years ago
Thanks for filing the issue. Yes I can definitely see the value of documenting all supported triggers at one place. cc @jeffjose
@jeffjose @zhouyx Can someone point to where we would be able to find component specific analytics triggers? Is there someone who has a list available?
Currently, the
amp-analytics
component reference documentation only mentions component-specific triggers likeamp-access-*
andamp-video-*
.https://amp.dev/documentation/components/amp-analytics#access-triggers
There are more component-specific triggers like
amp-carousel-*
foramp-carousel
, andamp-form-*
foramp-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