# RUM Application traffic is not captured by Dynatrace.

**URL:** <https://community.dynatrace.com/t/rum-application-traffic-is-not-captured-by-dynatrace/49103>\
**Category:** Troubleshooting\
**Tags:** real-user-monitoring-classic\
**Created:** [December 19, 2024, 10:53am UTC](https://community.dynatrace.com/t/rum-application-traffic-is-not-captured-by-dynatrace/49103 "2024-12-19T10:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toufic\_chamandi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/toufic_chamandi/32/4356_2.png) [@toufic\_chamandi](https://community.dynatrace.com/u/toufic_chamandi)\
**Post date:** [December 19, 2024, 10:53am UTC](https://community.dynatrace.com/t/rum-application-traffic-is-not-captured-by-dynatrace/49103/1 "2024-12-19T10:53:49Z")

</div>

_Summary: Your web application traffic isn’t appearing in the defined Dynatrace application or being captured. The best way to troubleshoot this is to narrow down the source of the problem, as it could be an injection or detection issue or be related to a different application._

## Troubleshooting steps

### **Start ruling out the cause by following these steps:**

The first step would be to go to the website and [open the dev-tools and check the network tab](https://developer.chrome.com/docs/devtools/overview#open), see if you’re able to spot the Dynatrace RUM JavaScript request:

![toufic_chamandi_1-1734335110627.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d421fdd6462b4f018f6136ea4c2634c2275552fa.png)

The&nbsp;RUM JavaScript may look different, i.e. ‘ **2f34badcac72bfa2\_complete.js** ’ or be injected inline directly in HTML starting with ‘ **\<script type=“text/javascript” data-dtconfig=** ’.

That’s why, the ultimate way to check for the injection, is to run&nbsp;‘**dT\_.gdi()**’&nbsp;in the console of the browser, if an injection is successful you would get something similar to this:

 ![toufic_chamandi_10-1732778630611.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/9/491d7c0ffeacb96ec4ddf2739bf72180ba693d4a.png)

If the console returns a red output like the following then there is no injection on the website:

![toufic_chamandi_11-1732778656492.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c0dc1bca5a796369183a8fa684092c87bb26ee96.png)

### **When there is an injection:**

This means that the traffic is being captured but is being sent to a different application (we’re assuming that the beacon requests ‘ **rb\_** ’&nbsp;or ‘ **bf\_** ’ are being sent correctly) in Dynatrace. To find out which application you can do multiple things here:

- Run&nbsp;‘**dT\_.cfgO()**’&nbsp;in the console. This will return multiple pieces of information one of which is the application ID that is handling the injection. This ID is present in the URL of the application page in Dynatrace:
  - https://{environmentid}.live.dynatrace.com/#uemapplications/uemappmetrics; **uemapplicationId=APPLICATION-EA7C4B59F27D43EB** ;gtf=-2h;gf=all

- You can go to the service that handles the frontend of the main page, and check for the Distributed Trace / PurePath there.
- The third method is better because it will help you solve the problem faster (but here we’re also assuming that correlation is working, so the User Actions are linked to the Distributed Traces), by checking your session in Dynatrace you’re able to jump to the traces captured in Dynatrace. And from those traces you’re able to see what the full URL looks like when it was captured:

 ![toufic_chamandi_12-1732778748898.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/17a7979b5a55b7b28f35c8613b9f8790899cdc3c.png)

- Next check Settings → Web and mobile monitoring → Host determination. You could have used another header to use as a HOST for the trace.
- Now you can build the full URL its the ( **Top header from the host determination + URI** ), for example here the full URL here would be: localhost:8079/

 ![toufic_chamandi_13-1732779115626.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/b/2b38f11d4205af7f19d7702654108c92cfdb5659.png)

- Next check the application detection rule and it states why this request was assigned to the application, in this case it states that the domain matches localhost.

 ![toufic_chamandi_14-1732779425598.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/4/24f0ad43669b3b77f45191bff360f8cd33861144.png)

You will either have to fix the detection rule or fix whatever is changing his URL (Dynatrace does not manipulate the URL we only capture it).

### **When there is no injection:** [​](https://dynatrace.stackenterprise.co/articles/16062#heading-when-there-is-no-injection)

- Open the dev-tools, [enable dtHealthCheck and load the website.](https://community.dynatrace.com/topic/223391)
- Check the document request of the page, see if you find&nbsp;‘ **x-dthealthcheck** ’&nbsp;&nbsp;in the response headers in the Headers part of the request, if you don’t see it, skip to the next point. You should see something similar to this:

![toufic_chamandi_16-1732779632788.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3344ba5c7deb41386101a117f821f217888b374f.png)

- Usually dtHealthCheck provides us with the information needed, but you might come across a situation where the headers don’t show up and this is due to 2 possible reasons:
  - Either the customer didn’t disable cache while recording the HAR, let him toggle ‘disable cache’ and test it in an incognito window:

  - The application is served by a CDN which doesnt have oneagent installed in this case automatic injection is not possible.

- In this case you need to ask the customer to check it on his side.

## What’s Next&nbsp;

If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:

- A link to the website and some login credentials&nbsp;if access is possible.
- [A HAR file or fiddler with ‘dtHealthCheck’ enabled](https://community.dynatrace.com/topic/223391).
- A link to the service handling the loading of the main page in Dynatrace.
- A link to the application

**What to read next:**

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[Firewall constraints for RUM](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/initial-setup/firewall-constraints-for-rum)

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[Troubleshooting automatic RUM injection failures](https://community.dynatrace.com/topic/287116)

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[RUM initial setup for web applications](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/initial-setup)

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[Troubleshooting RUM for web applications](https://docs.dynatrace.com/docs/observe/digital-experience/web-applications/troubleshooting)

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[Troubleshooting RUM setup issues for web applications](https://community.dynatrace.com/topic/239643)

![HannahM_4-1769101383751.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/5/45a9299ba70e9407657c3053cd75964bc6617e7d.png)  
[RUM Application traffic is not captured by Dynatrace.](https://community.dynatrace.com/topic/263922)
