capture add to cart icon

If you are asking about if there is functionality to count a number of certain elements in a web page, then the short answer is no, that’s not possible directly.

If you, however, can modify your application code, you can push this information using the Dynatrace RUM API - dtrum.addActionProperties() and define this property for your web application in Dynatrace.

Another option would be to count it from the server-side using request attributes, but this highly depends on your application design.