# Track JS Errors with RUM agent

**URL:** <https://discuss.elastic.co/t/track-js-errors-with-rum-agent/277318>\
**Category:** APM\
**Tags:** rum\
**Created:** [June 29, 2021, 8:17am UTC](https://discuss.elastic.co/t/track-js-errors-with-rum-agent/277318 "2021-06-29T08:17:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thore](https://avatars.discourse-cdn.com/v4/letter/t/e68b1a/32.png) [@Thore](https://discuss.elastic.co/u/Thore)\
**Post date:** [June 29, 2021, 8:17am UTC](https://discuss.elastic.co/t/track-js-errors-with-rum-agent/277318/1 "2021-06-29T08:17:07Z")

</div>

**Kibana version** : 7.13.2

**Elasticsearch version** : 7.13.2

**APM Server version** : 7.13.2

**APM Agent language and version** : APM-RUM 5.8.0

**Browser version** : Chrome 91.0.4472.114

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Downloaded from the elastic page.

**Fresh install or upgraded from other version?** Fresh

**Is there anything special in your setup?** No, just activated Rum in the server config.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
Hi everyone,  
I was wondering if I have to configure something in advance to track all JS errors in my AngularJS application? The rum agent only collects HTML-clicks and transactions.

Thanks in advance.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/64017821533e8061d807b58ce1168f1c76612788.png)

**Errors in browser console (if relevant)**:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f8523f3c8b5257a940f324751ad30380c9a1542b.png)

---

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [July 15, 2021, 3:33pm UTC](https://discuss.elastic.co/t/track-js-errors-with-rum-agent/277318/2 "2021-07-15T15:33:16Z")

</div>

Hi @Thore,

Apologies for the delay.

For Angular application, you would need to use our integrations to capture the errors by default - [Angular integration | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/rum-js/current/angular-integration.html#_capturing_errors_in_angular_applications)

Thanks,  
Vignesh

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 5, 2021, 11:34am UTC](https://discuss.elastic.co/t/track-js-errors-with-rum-agent/277318/3 "2021-08-05T11:34:04Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
