title: Reduce the impact of third-party code (zendesk)
body: <p><a href="https://i.stack.imgur.com/rds1g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rds1g.png" alt="enter image description here" /></a></p>
  <pre class="lang-html prettyprint-override"><code>&lt;script
    id=&quot;ze-snippet&quot;
    src=&quot;https://static.zdassets.com/ekr/snippet.js?key=some_zendesk_key&quot;
  /&gt;
  </code></pre>
  <p>I'm trying to optimize my web site performance. I've faced a big impact of third-party code to my performance, I think all my bundle has a lower size than zendesk code. How can I load it without impacting on the main thread? Should I use the <code>async</code> or <code>defer</code> tags? Or which approach is better for this case?</p>