cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change the url of rum injection

mhlamine
Helper

Hi,

I ve been asked if it is possible to change the url of get request that is downloading the RUM js to MyApplication.

[04/Oct/2024:16:19:04 +0200]|-|www.MyApplication.be|-|GET /abedt/ruxitagentjs_ICA7NVfqrux_10299241001084140.js HTTP/1.1|200|84190|0

 

is it possible to make it www.custom.be but still linked to MyApplication ?

 

Regards.

6 REPLIES 6

Peter_Youssef
Leader

Hello @mhlamine 

  1. If the RUM data is flowing to My web application which is the default placeholder for RUM Signals, transfer the data to another application or create detection rules based on the domain or Host.
  2. If you have concern regarding where the JS Tag or RUM modules are injected in the application, you can check the attached example to simulate as per your actual scenario.

You can change the directory where the JS tag injected 

2024-10-07_16h26_17.png

2024-10-07_16h29_00.png

BR, 

Peter.

 

michal_lewi
Helper

Dear mhlamine,

you can assign application by URL or HOST in settings-> web and mobile monitoring -> application detection.
You can control PATH of RUM agent injection by going to your application->edit->capturing->Advanced setup

Best Regards

Michał

 

mhlamine
Helper

suppose my application url begins with www.easytravel.com

and my detection rule is defined accordingly

if i do not set any url path  the ruxitagent will be injected with 

https://www.easytravel.com/ruxitagentjs_..........

and if modify the url path it can be another url? 

https://www.anotherUrl.com/test/ruxitagentjs_.........

Hi @mhlamine 

  • Detection rule is good to start with or contain the highlighted pattern www.easytravel.com to correlate the RUM data with the app no issue.
  • ruxitagent will be injected in the page header, you can inspect the website and search for the ruxitagent you will find exactly where it's injected and then you can change it if required.

BR,

Peter.

GosiaMurawska
Community Team
Community Team

Hi @mhlamine! Did you manage to solve this one? 🙂 

mhlamine
Helper

Hello,

Yes we are now using manual injection (code snippet async) and private cdn to serve the javascript.

Regards.

Featured Posts