I'm trying to add the Bookalet third party widget to my Gatsby index page. I have tried just including in the page and via Helmet. Both methods aren't working sadly. Any ideas?
The script in question:
<div><script src="https://widgets.bookalet.co.uk/publish.js" data-bookalet="da8ebdf5-2f4a-47cb-8c92-f84032b16f5b" data-property="17263" data-monthcount="1"></script></div>
Example 1: simply placing in the page:
<TextBlock>
<Heading>
<h2>Availability</h2>
</Heading>
<RichText>
You can check availabilty below. Please note the minimum booking
is seven nights. Short breaks may be considered out of season,
please contact us.
</RichText>
<Spacer></Spacer>
<div>
<script
src="https://widgets.bookalet.co.uk/publish.js"
data-bookalet="da8ebdf5-2f4a-47cb-8c92-f84032b16f5b"
data-property="17263"
data-monthcount="1"
></script>
</div>
</TextBlock>
Example 2: using helmet to add into the page.
<Helmet>
<script
src="https://widgets.bookalet.co.uk/publish.js"
data-bookalet="da8ebdf5-2f4a-47cb-8c92-f84032b16f5b"
data-property="17263"
data-monthcount="1"
></script>
</Helmet>
