# Does Agent need to be installed on Tomcat Front end host  in order to see UI traffic?

**URL:** <https://community.dynatrace.com/t/does-agent-need-to-be-installed-on-tomcat-front-end-host-in-order-to-see-ui-traffic/14301>\
**Category:** Real User Monitoring\
**Tags:** user-actions, user-sessions\
**Created:** [July 31, 2018, 7:28pm UTC](https://community.dynatrace.com/t/does-agent-need-to-be-installed-on-tomcat-front-end-host-in-order-to-see-ui-traffic/14301 "2018-07-31T19:28:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_a\_loizz](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@michael\_a\_loizz](https://community.dynatrace.com/u/michael_a_loizz)\
**Post date:** [July 31, 2018, 7:28pm UTC](https://community.dynatrace.com/t/does-agent-need-to-be-installed-on-tomcat-front-end-host-in-order-to-see-ui-traffic/14301/1 "2018-07-31T19:28:45Z")

</div>

Does OneAgent need to be installed on Tomcat Front end host in order to see UI traffic?

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [August 1, 2018, 1:56am UTC](https://community.dynatrace.com/t/does-agent-need-to-be-installed-on-tomcat-front-end-host-in-order-to-see-ui-traffic/14301/2 "2018-08-01T01:56:49Z")

</div>

Hi Michael,

If you are automatically injecting the JavaScript agent to your user’s browsers from a particular process then yes the agent needs to be installed on the host that process is running on. In most cases, I have seen the Automatic JavaScript injection being setup on the frontend process like a webserver. So in your case unless you are doing the Automatic JavaScript injection via another process on a different host, you will need to install the agent on the frontend host. See more on JavaScript injection below

[https://www.dynatrace.com/support/help/user-experi…](https://www.dynatrace.com/support/help/user-experience/real-user-monitoring/how-does-real-user-monitoring-injection-work/)

[https://www.dynatrace.com/support/help/user-experi…](https://www.dynatrace.com/support/help/user-experience/troubleshooting/how-can-i-verify-that-real-user-monitoring-is-working/)

Hope This Helps

NJ
