FR: analytics event trigger for amp-carousel item only when it's visible for the first time
Issue
Right now, as a carousel loops through the items, an item will get repeatedly shown and repeatedly fired, which will count as multiple impressions in analytics. https://github.com/ampproject/amphtml/blob/master/extensions/amp-carousel/amp-carousel-analytics.md
Feature Request
Can we have an analytics event trigger for amp-carousel to fire only when an item is visible for the first time?
/to @camelburrito
@micyeung Thanks for filing the FR The event gets fired on slide navigation, not on slide shown so this is working as intended. I guess you are requesting a new event, i think you can deduce it with information from existing events.
CC @jasti
CC @rudygalfi
Although the business requirements for the first occurrence of elements in amp-carousel were temporarily implemented by using the visible event, but relative to the number of elements in amp-carousel, I had to The current expectation is that there is an event that supports amp-carousel for the first time, or the visible event supports the group selector at the same time to get the element in the group's index
the only events that get fired on repeated slide changes are amp-carousel-change, amp-carousel-next, amp-carousel-prev
I know, but what we need is that the elements in amp-carousel send the analysis data only at the first occurrence
@zhang-90 which events(names) are you referring to?
amp-carousel-change, amp-carousel-next, amp-carousel-prevWill continue to send analysis of data, so desperately selected the visible event
Closing in favor of #12298