Integration Guide
Add floors.js to Wix
Open Settings, Custom Code, add to Body end. Paste one snippet. No Wix app, no Velo coding — just one line.
Get started — from $14/mo See how it works
How it works
floors.js loads on every page of your Wix site. It detects each page URL and creates a room for it. Visitors on the same page see each other as 3D avatars and can chat in real-time.
Wix uses standard browser navigation between pages, and floors.js detects each URL automatically. No Wix App Market, no Velo coding needed.
Installation
Wix lets you add custom code site-wide through the dashboard. Here's how:
- Open your Wix dashboard
- Go to Settings → Custom Code
- Click + Add Custom Code
- Paste the script tag below
- Set placement to Body - end
- Apply to All pages
- Click Apply
Paste this code:
<script src="https://floorsjs.com/embed.js" data-key="flr_..."></script>
Replace flr_... with your site key from the floors.js dashboard.
Alternative: Wix Editor
You can also add floors.js to specific pages using the Wix Editor. Go to Add to Site → Embed → Custom Code and paste the same script tag. This approach works if you only want floors.js on certain pages.
Configuration
Add optional attributes to the script tag to customize the experience:
- data-key (required) — your site key
- data-server (optional) — custom WebSocket server if self-hosting
- data-name (optional) — pre-set a display name for the visitor
FAQ
Do I need a Wix App?
No. Custom Code injection is a built-in Wix feature on Premium plans. No app marketplace, no monthly fee. Just paste the script.
Which Wix plans support custom code?
Premium plans (not the free Wix plan). If you're on a paid plan, you already have access to Custom Code in your dashboard settings.
Does it work with Wix Editor and Wix Studio?
Yes. Both Wix Editor and Wix Studio support custom code injection. The process is the same — add the script through your site settings.
Will it conflict with other Wix widgets?
No. floors.js uses prefixed DOM IDs (__floors_) and creates its own isolated DOM elements. It won't interfere with any Wix widgets, apps, or elements on your site.
Welcome to floors.js - Live Demo
Enter the building to see and chat with other visitors in real-time.
Enter the building
★ Are you the owner?
Paste the settings code from your welcome email to verify.
Verify & enter Enter as a visitor instead