Tracking Custom Elements with an ID Attribute
Sometimes you want an element to be identified based on its position relative to other elements rather than its content. For example, you might have three rotating or randomized images on a page that you want to identify in your reports based on which of the three was clicked rather than based on the image URL. You can use the ceid attribute to track in this manner.
Using the data-ceid attribute
<img src=”image_23894723.jpg” data-ceid=”random_image_1″ /> <img src=”image_38947234.jpg” data-ceid=”random_image_2″ /> <img src=”image_09834343.jpg” data-ceid=”random_image_3″ />