25 Feb 2020 05:30 AM
Hello
there are pages where i can see many add to cart icons. i need to calculate the count wherever the icon appears. how does it possible in dynatrace managed?
thanks
Ram
Solved! Go to Solution.
25 Feb 2020 07:24 AM
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.