Sharpspring script not loading consistently on a Gatsby page

I have this page created on Gatsby and I’m including this Script from Sharpspring in the Helmet component and it loads sometimes but not all the time.
Any ideas why this happens?

import React from "react"
import ReactDom from "react-dom"
import LayoutTemplate from "../templates/LayoutTemplate/LayoutTemplate"
import { Helmet } from "react-helmet"

const Preferences = () => {    
  return (
    <LayoutTemplate>
      <Helmet>
      <script async type="text/javascript"  src="https://koi-3QNLLDDY3O.marketingautomation.services/client/form.js?ver=2.0.1" />
    <script type="text/javascript"> 
    {`
    var ss_form = {'account': 'MzawMLEwMDayAAA', 'formID': 'M0g2SbU0NjfUtTS1NNc1MTFP1LU0s0zSNTQwMzSzMDNNMTU2AgA'}; 
    ss_form.width = '100%'; 
    ss_form.domain = 'app-3QNLLDDY3O.marketingautomation.services'; 
    ss_form.target_id = 'form1'; 
    ss_form.polling = true;
    `}
    </script> 
     </Helmet>
        <div id="form1"> </div>
    </LayoutTemplate>
  )
}

export default Preferences