title: Enqueue External JS Wordpress
body: <p>I'm struggling to understand how to enqueue an external js file with some widget code within Wordpress. For example: there is a Frontapp chatbot that has to have the following code placed into the end of the  tag with my theme:</p>
  <pre><code>&lt;script src=&quot;https://chat-assets.frontapp.com/v1/chat.bundle.js&quot;&gt;&lt;/script&gt;
  &lt;script&gt;
    window.FrontChat('init', {chatId: '0xxxx', useDefaultLauncher: true});
  &lt;/script&gt;
  </code></pre>
  <p>How would I enqueue this since there's both an external link &amp; snippet of Js?</p>