# Split Application detection into 2

**URL:** <https://community.dynatrace.com/t/split-application-detection-into-2/34677>\
**Category:** Real User Monitoring\
**Tags:** application-rules, application-monitoring, mobile-monitoring\
**Created:** [March 31, 2022, 5:41am UTC](https://community.dynatrace.com/t/split-application-detection-into-2/34677 "2022-03-31T05:41:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [March 31, 2022, 5:41am UTC](https://community.dynatrace.com/t/split-application-detection-into-2/34677/1 "2022-03-31T05:41:43Z")

</div>

Hello Community,

I have a question.

I have an application detection rule (base on a domain).

This application is used with both Web and Mobile.

I want to split this application into 2 sub applications, the goal is to disable the JavaScript injections in the web portal and have only statistics for the Mobile.

Any one tried this?

Have a good day.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [March 31, 2022, 7:17am UTC](https://community.dynatrace.com/t/split-application-detection-into-2/34677/2 "2022-03-31T07:17:34Z")

</div>

Hi&nbsp;[@Malaik](https://community.dynatrace.com/user/23195),

When you say Mobile, is that a native mobile app on Android / iOS, or a hybrid mobile app? If it is a hybrid app, you should be able to do what you’re trying to achieve by following the steps outlined [here](https://www.dynatrace.com/support/help/shortlink/instrument-hybrid-app) and then disabling injection for the web portal.

However, if the mobile you refer to, is native mobile, that should already go into a separate application, but it is not done via application detection rules, but rather via adding the agent into the [Android](https://www.dynatrace.com/support/help/shortlink/android-hub) or [iOS](https://www.dynatrace.com/support/help/shortlink/ios-hub) native mobile application code.

I hope this helps! 🙂  
André
