-
Notifications
You must be signed in to change notification settings - Fork 4.1k
amp-carousel: tracking events #4292
Copy link
Copy link
Closed
Description
We would like to track interactions with an amp-carousel. Specifically we would like to track a user-triggered navigation with the amp-analytics component using the "IVW"-provider.
Currently it would probably be possible to achieve this using the json event-tracking notation to track clicks on the amp-carousel-button-next-element. This would ignore swipe gestures on mobile though.
Would it instead be possible to expose a carouselNavigation-event (maybe with the id of carousel instance attached, similar to the amp-lightbox component like carouselNavigation:my-carousel) to access in the amp-analytics configuration? Do you see other possibilities?
Reactions are currently unavailable