Quick solutions to common problems with the schedule widget and the lead form. These cover the current (v2) embed. If you still run the classic v1 iframe, see the note at the end.
Widget or form not showing#
- Confirm both lines are pasted: the
<script ... loader.js>(ornaayya-lead-form.js) line and the element line. - Check the
business-id(schedule) orembed-key(lead form) matches the key shown in Settings → Website Integration. - Make sure the code is in an HTML or code block, not a rich-text block that escapes the tags.
- Open your browser console and confirm the script URL loads:
https://naayya.com/plugin/v2/loader.js.
Colours or fonts do not match#
- The widget follows your studio brand by default. To override, set the
--naayya-*tokens in your own site's CSS (see Website Integration). - Use full 6-character hex codes including the
#(for example#F55E12). - A CSS rule on your page always wins, so check your own styles are not hiding the element.
Filters show the wrong classes (schedule)#
- Check attribute spelling:
locations,teachers,categories(plural). - Separate multiple ids with commas:
teachers="id1,id2". - Category names are case-sensitive and must match your class settings exactly.
Lead form problems#
- "A valid embed key is required": the form needs an issued embed key from Settings → Website Integration, not a studio name or slug.
- "This form is not enabled for this website": if you have pinned allowed websites for your embed key, the page's address must be on that list.
- "Too many submissions": the form is rate-limited to deter spam. Wait a little and try again.
- A new lead did not appear: check Customers → Leads; an enquiry with an email already on file is recorded as another touch on the existing lead rather than a new row.
Platform notes#
- WordPress: use a Custom HTML block, not the visual editor.
- Squarespace: use a Code block, not an Embed block.
- Wix: use an Embed HTML element.
Performance#
- The loader script is small and runs
async, so it does not block your page. - You can place the script line near the end of the page if you prefer.
Still stuck#
- Test in a private or incognito window, and try another browser.
- Check the browser console for error messages.
- Contact support@naayya.com with your embed code and website address.
Classic embed (v1)#
The older iframe and data-naayya-calendar embed (https://naayya.com/plugin/v1/embed.js) is still supported but being phased out. If you are on v1, the simplest fix for most display issues is to move to the v2 snippet in Website Integration.