<?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: Passive event listener ? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/183131#M3565</link>
    <description>&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have received your question via Zendesk and will answer on that ticket as well, but I thought this can also be interesting for others, so I will also answer here.&lt;/P&gt;&lt;P&gt;The passive listener is not actually registered by us, we are just wrapping a function and forwarding the call from another javascript file on your page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the ticket you mentioned "GTMETRIX", but you can actually also run the same test on your local machine using Chrome Developer Tools and Lighthouse.&lt;/P&gt;&lt;P&gt;It will show the same error (interestingly it shows line 272, GTMETRIX is showing line 271, but that seems to be a bug):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_0-1648047145447.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4951i9D5C27CCB9EB3A0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_0-1648047145447.png" alt="simon_schatka_0-1648047145447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is then possible to use "Network request blocking" to block the &amp;lt;id&amp;gt;_complete.js file from loading:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_1-1648047239553.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4952iA983E90A0461CB28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_1-1648047239553.png" alt="simon_schatka_1-1648047239553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Running Lighthouse again then gives this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_2-1648047328235.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4953iE73050972312E4B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_2-1648047328235.png" alt="simon_schatka_2-1648047328235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And upon clicking on the link, it takes you to the real location where this happens:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_3-1648047362157.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4954i7AB03FADD21AE2A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_3-1648047362157.png" alt="simon_schatka_3-1648047362157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 14:56:41 GMT</pubDate>
    <dc:creator>simon_schatka</dc:creator>
    <dc:date>2022-03-23T14:56:41Z</dc:date>
    <item>
      <title>Passive event listener ?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/182392#M3544</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another question from our dev team : their performance audit tool detected that there is 1 active event listener in the JS file injected with the tag.&lt;/P&gt;&lt;P&gt;The tool is suggesting to use only passive listeners to improve scrolling performance.&lt;/P&gt;&lt;P&gt;Is their a way to configure that ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 10:05:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/182392#M3544</guid>
      <dc:creator>AymericM</dc:creator>
      <dc:date>2022-03-14T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Passive event listener ?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/182497#M3553</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All listeners should be registered as passive. Because we are wrapping some functions, we might be showing up as the culprit, when we actually are not.&lt;/P&gt;&lt;P&gt;If you are sure this is caused by us, can you please go ahead and create a Zendesk ticket and provide some more information, so we can take a closer look at this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 10:42:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/182497#M3553</guid>
      <dc:creator>simon_schatka</dc:creator>
      <dc:date>2022-03-15T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Passive event listener ?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/183131#M3565</link>
      <description>&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have received your question via Zendesk and will answer on that ticket as well, but I thought this can also be interesting for others, so I will also answer here.&lt;/P&gt;&lt;P&gt;The passive listener is not actually registered by us, we are just wrapping a function and forwarding the call from another javascript file on your page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the ticket you mentioned "GTMETRIX", but you can actually also run the same test on your local machine using Chrome Developer Tools and Lighthouse.&lt;/P&gt;&lt;P&gt;It will show the same error (interestingly it shows line 272, GTMETRIX is showing line 271, but that seems to be a bug):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_0-1648047145447.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4951i9D5C27CCB9EB3A0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_0-1648047145447.png" alt="simon_schatka_0-1648047145447.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is then possible to use "Network request blocking" to block the &amp;lt;id&amp;gt;_complete.js file from loading:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_1-1648047239553.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4952iA983E90A0461CB28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_1-1648047239553.png" alt="simon_schatka_1-1648047239553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Running Lighthouse again then gives this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_2-1648047328235.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4953iE73050972312E4B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_2-1648047328235.png" alt="simon_schatka_2-1648047328235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And upon clicking on the link, it takes you to the real location where this happens:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simon_schatka_3-1648047362157.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4954i7AB03FADD21AE2A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simon_schatka_3-1648047362157.png" alt="simon_schatka_3-1648047362157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:56:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/183131#M3565</guid>
      <dc:creator>simon_schatka</dc:creator>
      <dc:date>2022-03-23T14:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Passive event listener ?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/183134#M3566</link>
      <description>&lt;P&gt;Thanks I'll share this to the dev team right away&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:17:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Passive-event-listener/m-p/183134#M3566</guid>
      <dc:creator>AymericM</dc:creator>
      <dc:date>2022-03-23T15:17:23Z</dc:date>
    </item>
  </channel>
</rss>

