AEM Carousel extended to incorporate Slick Slider - AEM Analytics data layer Issue
Hi Team,
We have a custom AEM Carousel with sling:resourceSuperType "core/wcm/components/carousel/v1/carousel".
We have incorporated the slick slider (https://kenwheeler.github.io/slick/) in the html script for this component as shown below -

The slider is working correctly as slick slider intends to. However, the way slick slider works is by creating clones of the actual items. I have added 3 images in the carousel but the slick slider has added 8 elements (3 actual and 5 clones).
These clones different from actual elements as the clones don't have "ID" attribute like the actual elements.
The Adobe Analytics data layer (data-cmp-data-layer) is picking up the clones and printing the parentID as null in the analytics layer even though the "ID" attribute is present in the component's HTML and Sling Model.

Is there a fix for the same ? Any suggestions will be highly appreciated.
@arunpatidar, @mohit_kbansal, @kautuk_sahni , @joerghoh, @b_sravan
Thanks,
Rohan Garg

