question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

amp-carousel: tracking events

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
ericlindley-gcommented, Aug 10, 2016

Putting into “next”, as this would be nice to make some progress on soon

2reactions
dvoytenkocommented, Aug 1, 2016

It’s totally reasonable to add forward/back or prev/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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found