<?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>article How to interact with trusted events in a Browser Clickpath Monitor in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-interact-with-trusted-events-in-a-Browser-Clickpath/ta-p/222074</link>
    <description>&lt;H2&gt;&lt;EM&gt;Summary&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;Some applications check whether an action was completed by a real user using the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted" target="_self"&gt;isTrusted property&lt;/A&gt;. Synthetic users don't pass this check out of the box, so we need to update the script to change this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;With the snippet below, Browser Clickpath Monitors can click and enter keystrokes in applications that require the events to be trusted.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Trusted events impact only Click and Keystroke steps; no other steps' behavior is impacted by the flag, including JavaScript steps.&lt;/LI&gt;
&lt;LI&gt;The trusted Click step has the following limitations:&lt;BR /&gt;the click may not work when
&lt;UL&gt;
&lt;LI&gt;An element is behind another element (overlay)&amp;nbsp;like Cookie consent popup
&lt;UL&gt;
&lt;LI&gt;Consider introducing a synthetic step to remove the overlay before proceeding with trusted events (like adding click step to accept/reject Cookie consent popup).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;An element is inside an iframe&amp;nbsp;(trusted event in iframe are supported since 1.331)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN&gt;Supported Versions&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;This feature was added:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;For Clicks, from 1.266 (1.266 Recorder, 1.266 Public Locations, 1.267 Synthetic-enabled ActiveGates).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;For Keystrokes, from 1.269 (1.269 Recorder, 1.269 Public Locations, 1.269 Synthetic-enabled ActiveGates)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;&lt;SPAN&gt;&lt;BR /&gt;How to enable interacting with trusted events in a Browser Clickpath monitor&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;Add the following to the configuration section of the script to enable Trusted Events feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;,"experimentalProperties": [&amp;nbsp;&lt;BR /&gt;      {&amp;nbsp;&lt;BR /&gt;          "name": "enableTrustedEvents",&amp;nbsp;&lt;BR /&gt;          "value": "true"&amp;nbsp;&lt;BR /&gt;      }&amp;nbsp;&lt;BR /&gt;]&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1693497747350.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13908i367ECFB8F9A836FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HannahM_0-1693497747350.png" alt="HannahM_0-1693497747350.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;No further changes are required to the monitor. Now all click and keystroke events in the script will be considered trusted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;What's Next&lt;/H2&gt;
&lt;P&gt;If this does not resolve the issue, please open a support ticket and provide&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a link to the affected monitor&lt;/LI&gt;
&lt;LI&gt;mention this article and any other troubleshooting steps taken&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;What to read next:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:299,&amp;quot;335559739&amp;quot;:299}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1765381862107.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31183iF59F1B5822B51792/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_0-1765381862107.png" alt="HannahM_0-1765381862107.png" /&gt;&lt;/span&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/browser-monitors/script-mode-for-browser-monitor-configuration#edit-the-script" target="_self"&gt;Script mode for Browser monitor configuration&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&lt;A id="link_6" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/Synthetic-Troubleshooting-Map/ta-p/250426" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1765381862107.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31183iF59F1B5822B51792/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_0-1765381862107.png" alt="HannahM_0-1765381862107.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Synthetic Troubleshooting Map&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_1-1765381862208.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31184i264F38CC26E7FCBF/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_1-1765381862208.png" alt="HannahM_1-1765381862208.png" /&gt;&lt;/span&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;A id="link_6" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/Synthetic-Browser-Monitor-Error-Codes/ta-p/198177" target="_blank" rel="noopener"&gt;Synthetic Browser Monitor Error Codes&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_2-1765381862256.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31185i972F66E15A9E53F7/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_2-1765381862256.png" alt="HannahM_2-1765381862256.png" /&gt;&lt;/span&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" href="https://community.dynatrace.com/t5/Troubleshooting/How-to-perform-a-click-event-using-Javascript-on-browser/ta-p/244503" target="_self"&gt;How to perform a click event using Javascript on browser clickpath synthetic monitors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_3-1765381862307.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31186iE8EE28BA788FE762/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_3-1765381862307.png" alt="HannahM_3-1765381862307.png" /&gt;&lt;/span&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" title="How to inspect and add the shadow DOM elements into synthetic script events." href="https://community.dynatrace.com/t5/Troubleshooting/How-to-inspect-and-add-the-shadow-DOM-elements-into-synthetic/ta-p/209228" target="_blank" rel="noopener"&gt;How to inspect and add the shadow DOM elements into synthetic script events.&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2026 14:37:08 GMT</pubDate>
    <dc:creator>HannahM</dc:creator>
    <dc:date>2026-03-27T14:37:08Z</dc:date>
    <item>
      <title>How to interact with trusted events in a Browser Clickpath Monitor</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/How-to-interact-with-trusted-events-in-a-Browser-Clickpath/ta-p/222074</link>
      <description>&lt;H2&gt;&lt;EM&gt;Summary&lt;/EM&gt;&lt;/H2&gt;
&lt;P&gt;Some applications check whether an action was completed by a real user using the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted" target="_self"&gt;isTrusted property&lt;/A&gt;. Synthetic users don't pass this check out of the box, so we need to update the script to change this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;With the snippet below, Browser Clickpath Monitors can click and enter keystrokes in applications that require the events to be trusted.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Trusted events impact only Click and Keystroke steps; no other steps' behavior is impacted by the flag, including JavaScript steps.&lt;/LI&gt;
&lt;LI&gt;The trusted Click step has the following limitations:&lt;BR /&gt;the click may not work when
&lt;UL&gt;
&lt;LI&gt;An element is behind another element (overlay)&amp;nbsp;like Cookie consent popup
&lt;UL&gt;
&lt;LI&gt;Consider introducing a synthetic step to remove the overlay before proceeding with trusted events (like adding click step to accept/reject Cookie consent popup).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;An element is inside an iframe&amp;nbsp;(trusted event in iframe are supported since 1.331)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN&gt;Supported Versions&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;This feature was added:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;For Clicks, from 1.266 (1.266 Recorder, 1.266 Public Locations, 1.267 Synthetic-enabled ActiveGates).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;For Keystrokes, from 1.269 (1.269 Recorder, 1.269 Public Locations, 1.269 Synthetic-enabled ActiveGates)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2&gt;&lt;SPAN&gt;&lt;BR /&gt;How to enable interacting with trusted events in a Browser Clickpath monitor&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;Add the following to the configuration section of the script to enable Trusted Events feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;,"experimentalProperties": [&amp;nbsp;&lt;BR /&gt;      {&amp;nbsp;&lt;BR /&gt;          "name": "enableTrustedEvents",&amp;nbsp;&lt;BR /&gt;          "value": "true"&amp;nbsp;&lt;BR /&gt;      }&amp;nbsp;&lt;BR /&gt;]&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1693497747350.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13908i367ECFB8F9A836FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HannahM_0-1693497747350.png" alt="HannahM_0-1693497747350.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;No further changes are required to the monitor. Now all click and keystroke events in the script will be considered trusted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;What's Next&lt;/H2&gt;
&lt;P&gt;If this does not resolve the issue, please open a support ticket and provide&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a link to the affected monitor&lt;/LI&gt;
&lt;LI&gt;mention this article and any other troubleshooting steps taken&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;What to read next:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:299,&amp;quot;335559739&amp;quot;:299}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1765381862107.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31183iF59F1B5822B51792/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_0-1765381862107.png" alt="HannahM_0-1765381862107.png" /&gt;&lt;/span&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/browser-monitors/script-mode-for-browser-monitor-configuration#edit-the-script" target="_self"&gt;Script mode for Browser monitor configuration&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&lt;A id="link_6" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/Synthetic-Troubleshooting-Map/ta-p/250426" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_0-1765381862107.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31183iF59F1B5822B51792/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_0-1765381862107.png" alt="HannahM_0-1765381862107.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Synthetic Troubleshooting Map&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_1-1765381862208.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31184i264F38CC26E7FCBF/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_1-1765381862208.png" alt="HannahM_1-1765381862208.png" /&gt;&lt;/span&gt;&lt;SPAN data-contrast="auto"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;A id="link_6" class="page-link lia-link-navigation lia-custom-event" href="https://community.dynatrace.com/t5/Troubleshooting/Synthetic-Browser-Monitor-Error-Codes/ta-p/198177" target="_blank" rel="noopener"&gt;Synthetic Browser Monitor Error Codes&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_2-1765381862256.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31185i972F66E15A9E53F7/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_2-1765381862256.png" alt="HannahM_2-1765381862256.png" /&gt;&lt;/span&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" href="https://community.dynatrace.com/t5/Troubleshooting/How-to-perform-a-click-event-using-Javascript-on-browser/ta-p/244503" target="_self"&gt;How to perform a click event using Javascript on browser clickpath synthetic monitors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HannahM_3-1765381862307.png" style="width: 25px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31186iE8EE28BA788FE762/image-dimensions/25x25?v=v2" width="25" height="25" role="button" title="HannahM_3-1765381862307.png" alt="HannahM_3-1765381862307.png" /&gt;&lt;/span&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" title="How to inspect and add the shadow DOM elements into synthetic script events." href="https://community.dynatrace.com/t5/Troubleshooting/How-to-inspect-and-add-the-shadow-DOM-elements-into-synthetic/ta-p/209228" target="_blank" rel="noopener"&gt;How to inspect and add the shadow DOM elements into synthetic script events.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 14:37:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/How-to-interact-with-trusted-events-in-a-Browser-Clickpath/ta-p/222074</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2026-03-27T14:37:08Z</dc:date>
    </item>
  </channel>
</rss>

