Hello everyone,
I have a script in my app inside index.tsx which is a chatbot widget compiled with vite :
<Head>
<title>IngestGPT</title>
<meta
name="description"
content="..."
/>
<script
src="https://ingestgpt.com/chatbot.js"
id="chatbot-script"
data-chatbot-identifier="1684300642440"
defer
>
</script>
</Head>
It works great in every page of the app, the chatbot is correctly showing.. until I reload the page. When I do so, it just disappears.
This script should be useable by every user of the app, wether they're using next.js or not so the solution should be agnostic.
Would appreciate any help!
I'm so desperate at this point that I'm willing to pay.