Paste one snippet. Works everywhere.
Replace YOUR_SITE_ID with your ID from the FoxChat dashboard.
Open your main HTML file in a code editor.
Paste just before the closing </body> tag.
Upload or deploy. Done.
Check browser console (F12). Script must be inside body.
Change position from your FoxChat dashboard.
Delete the two script tags.