amp-carousel: tracking events
See original GitHub issueWe 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?
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (15 by maintainers)
Top Results From Across the Web
Example: <amp-analytics> - amp.dev
Currently, amp-analytics supports different kinds of events: ... It is possible to track amp-carousel events with amp-analytics (this works only for ...
Read more >AMP Carousel, amp-carousel advanced examples and tricks
Navigation through all the amp carousel items takes place by moving them over the horizontal axis by either swiping or clicking/ tapping on...
Read more >AMP - WebEngage Docs
WebEngage enables you to track user and events data for all your AMP pages through an additional integration. Since the primary goal of...
Read more >The amp-carousel component - Google Web Designer Help
Open the Components panel, then the Galleries folder. · Drag the amp-carousel component to the stage. · In the Properties panel, find the...
Read more >Create an Interactive Email with AMP Unit | Salesforce Trailhead
Create a carousel email using AMP in Content Builder. ... such as displaying the number of tickets left at an event, product inventory,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Putting into “next”, as this would be nice to make some progress on soon
It’s totally reasonable to add
forward/back
orprev/next
events events to carousel for analytics, it’s also very easy to do.The event definition in analytics should be able to supply
selector
to match different carousels, which would allow customization of analytics events.