<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I control JavaScript injection according to user-agent? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75634#M372</link>
    <description>&lt;P&gt;&lt;BR /&gt;	Hi Masahiko,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	I don't think that's supported out-of-the-box. The only way to configure JS Injection is by URL:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17187-js-inject.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	You just talked about the domain. Is there any other part of the URL where those two use-cases are different? &lt;/P&gt;&lt;P&gt;If that's not the case, you can also try disabling the agent via Javascript. In JS you should be able to determine which device you are on and if it's a feature phone you could call dtrum.disable()&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Franz&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 11:56:16 GMT</pubDate>
    <dc:creator>franz_soengen</dc:creator>
    <dc:date>2018-06-19T11:56:16Z</dc:date>
    <item>
      <title>Can I control JavaScript injection according to user-agent?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75633#M371</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am using real user monitoring (RUM) on a certain site.&lt;/P&gt;&lt;P&gt;The site has access from smartphone and feature phone.&lt;/P&gt;&lt;P&gt; - SmartPhone Site: use JavaScript&lt;/P&gt;&lt;P&gt; - Feature Phone Site : not use JavaScript&lt;/P&gt;&lt;P&gt;The smartphone site and the feature phone site are the same domain.&lt;/P&gt;&lt;P&gt;I want to prevent JavaScript from being inserted on Feature Phone Site.&lt;/P&gt;&lt;P&gt;Can I control JavaScript injection according to user-agent?&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 10:13:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75633#M371</guid>
      <dc:creator>menda</dc:creator>
      <dc:date>2018-06-19T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I control JavaScript injection according to user-agent?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75634#M372</link>
      <description>&lt;P&gt;&lt;BR /&gt;	Hi Masahiko,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	I don't think that's supported out-of-the-box. The only way to configure JS Injection is by URL:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17187-js-inject.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	You just talked about the domain. Is there any other part of the URL where those two use-cases are different? &lt;/P&gt;&lt;P&gt;If that's not the case, you can also try disabling the agent via Javascript. In JS you should be able to determine which device you are on and if it's a feature phone you could call dtrum.disable()&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Franz&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 11:56:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75634#M372</guid>
      <dc:creator>franz_soengen</dc:creator>
      <dc:date>2018-06-19T11:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I control JavaScript injection according to user-agent?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75635#M373</link>
      <description>&lt;P&gt;Not sure if it will help here but you can also include based on browser/device type and version:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17188-answers.png" /&gt;&lt;/P&gt;&lt;P&gt;The above is under the advanced setup for a specific applications settings. &lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 13:38:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-control-JavaScript-injection-according-to-user-agent/m-p/75635#M373</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2018-06-19T13:38:30Z</dc:date>
    </item>
  </channel>
</rss>

