<?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 Tagging within Response HTML in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118747#M6642</link>
    <description>&lt;P&gt;DyntraceONE - Can a tag be created from the following response html:&lt;/P&gt;
&lt;P&gt;&amp;lt;h2 class="title"&amp;gt;&amp;lt;p class="twolineerror" style="color: red"&amp;gt;&lt;STRONG&gt;We're sorry&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The goal is to capture "We're sorry" or whatever value/message is contained within &amp;lt;h2 class="title"&amp;gt;&amp;lt;p class="twolineerror" style="color: red"&amp;gt; and &amp;lt;/p&amp;gt;&amp;lt;/h2&amp;gt;&lt;/P&gt;
&lt;P&gt;I was thinking this is possible with Regex but I don't want to be greedy so as not to impact performance.&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 14:19:43 GMT</pubDate>
    <dc:creator>Bryan_Bautista</dc:creator>
    <dc:date>2022-08-31T14:19:43Z</dc:date>
    <item>
      <title>Tagging within Response HTML</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118747#M6642</link>
      <description>&lt;P&gt;DyntraceONE - Can a tag be created from the following response html:&lt;/P&gt;
&lt;P&gt;&amp;lt;h2 class="title"&amp;gt;&amp;lt;p class="twolineerror" style="color: red"&amp;gt;&lt;STRONG&gt;We're sorry&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The goal is to capture "We're sorry" or whatever value/message is contained within &amp;lt;h2 class="title"&amp;gt;&amp;lt;p class="twolineerror" style="color: red"&amp;gt; and &amp;lt;/p&amp;gt;&amp;lt;/h2&amp;gt;&lt;/P&gt;
&lt;P&gt;I was thinking this is possible with Regex but I don't want to be greedy so as not to impact performance.&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 14:19:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118747#M6642</guid>
      <dc:creator>Bryan_Bautista</dc:creator>
      <dc:date>2022-08-31T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging within Response HTML</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118748#M6643</link>
      <description>&lt;P&gt;True 'tagging' wouldn't apply here. What you could do is define a user action or session property based on a CSS selector for that element and then you'd be able to track it a bit better with filters and USQL etc...&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/user-session-properties#custom-properties" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/user-session-properties#custom-properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Don't worry too much about regular expression overhead because Dynatrace restricts how it can be used so it won't let you use rules that are too inefficient greedy. In the config there's a link to show you what is allowable.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 20:57:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118748#M6643</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-11-10T20:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging within Response HTML</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118749#M6644</link>
      <description>&lt;P&gt;Would adding a Custom Error Rule capture the same condition? If I'm trying to capture and identify those sessions with a "We're sorry" message, a custom error rule might work in this case.&lt;IMG src="https://community.dynatrace.com/legacyfs/online/27266-246611-10nov2020.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 13:12:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118749#M6644</guid>
      <dc:creator>Bryan_Bautista</dc:creator>
      <dc:date>2020-11-11T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging within Response HTML</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118750#M6645</link>
      <description>&lt;P&gt;In order to use custom errors you need to actually report the error using the JavaScript API:&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/configure-application-errors#configure-custom-errors" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/configure-application-errors#configure-custom-errors&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So it's not as simple as entering a value like that:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;After adding or excluding a custom error in Dynatrace, you must trigger the error in your application by using the &lt;CODE&gt;dtrum.reportCustomError()&lt;/CODE&gt; method of the JavaScript API. &lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;That does sound useful though and could be a good idea/RFE to post.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 15:30:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Tagging-within-Response-HTML/m-p/118750#M6645</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2020-11-11T15:30:16Z</dc:date>
    </item>
  </channel>
</rss>

