# Apdex rating calculation - How to ignore some JavaScript errors?

**URL:** <https://community.dynatrace.com/t/apdex-rating-calculation-how-to-ignore-some-javascript-errors/32716>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions, user-sessions\
**Created:** [September 16, 2021, 11:40pm UTC](https://community.dynatrace.com/t/apdex-rating-calculation-how-to-ignore-some-javascript-errors/32716 "2021-09-16T23:40:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [September 16, 2021, 11:40pm UTC](https://community.dynatrace.com/t/apdex-rating-calculation-how-to-ignore-some-javascript-errors/32716/1 "2021-09-16T23:40:02Z")

</div>

Hi, I am using Dynatrace managed and real user monitoring to monitor one of my application. The application is built in Angular and it’s just the content pages and nothing fancy.

The pages should be loading fast because they are designed in that way and Dynatrace should report the application as excellent but it’s performance is rated as Frustrating and it’s Apdex is calculated as “Fair”.

I know that the Dynatrace categories&nbsp;all user actions with JavaScript errors as frustrating.  
In some cases the application may have JavaScript errors caused by 3rd party elements like ads that don’t really affect the user experience of your customers. If such errors are skewing the Apdex ratings, can we have those JavaScript errors ignored for specific applications or high-priority user actions?

I have 2 questions -

1. I am aware that the JavaScript errors could directly be affecting the Apdex rating so is there a way to ignore some type of Javascript errors such as above one?
2. Also, what are the other factors which are considered for the Apdex calculation?

Let me know if anyone can advice on this.

Best Regards,

Shashank

---

_[View the full topic](https://community.dynatrace.com/t/apdex-rating-calculation-how-to-ignore-some-javascript-errors/32716)._
