I'm trying to add our HubSpot chat to our website we have created using React and Gatsby, and we were asked to insert the following to the body tag in the index.html file:
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/insertnumbers"></script>
The issue is that we don't upload our public folder to the website. The HTML file is in the public folder.
How can we come around this? I was thinking about a React component, but I'm not sure where to start. Can you help?