'Slick Slider afterChange event: tell difference between autoplay and user interaction
We have a bunch of Slick sliders on a site and want to do some Google Analytics event tracking on them. We like the beforeChange/afterChange events because they encompass all gallery interactions (swiping, clicking prev/next arrows, clicking slide dots etc). Unfortunately some of these galleries are set to autoplay, and I can't seem to find a property in the slick object or event returned from beforeChange/afterChange that differentiates between advancing via autoplay and advancing by a user.
Does anyone know a property that would help make this determination?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
