Docs
  • All For Customers guides
  • Book a service in the Naayya app
  • Book an appointment for several people
  • Cancel your appointment in the Naayya app
  • Cancel your class booking
  • Charge to your account
  • Check your wallet balance
  • Claim a gift card
  • Credits, memberships, and orders
  • Customer FAQ
  • Find and book a class
  • Goals and journal
  • Health information and consent
  • Join an online class or appointment
  • Manage bookings and appointments
  • Pay with wallet balance
  • Profile, payment methods, and settings
  • Reschedule your appointment in the Naayya app
  • Reschedule your class booking
  • Review a visit in the Naayya app
  • Send or download a gift card
  • Spend from someone else's account
  • Top up your wallet
  • Wallet and gift cards
  • Your customer account
  • All For Instructors guides
  • Instructor FAQ
  • Manage Attendance
  • Manage Your Profile
  • My Work Overview
  • View Your Payslips
  • View Your Schedule and Attendees
  • All Getting Started guides
  • Attendance policy
  • Booking Policies
  • Business Profile & Social Links
  • Check your location and resource limits
  • Choose the order customers see
  • Complete a sent contract
  • Configure booking and appointment notifications
  • Configure class notifications for staff
  • Configure notification channels
  • Configure operational alerts
  • Configure pack and pass notifications
  • Configure review notifications
  • Configure waitlist messages
  • Contracts
  • Create an e-signature template
  • Create or copy a location
  • Custom branding
  • Deactivate or archive a location
  • Edit a location and what customers see
  • Features
  • Find your settings
  • Inbox
  • Listing in the Naayya app
  • Manage Locations and Resources
  • Manage resources at a location
  • Media Library
  • Notification Settings
  • Plan Features
  • Platform Overview
  • Quick Start Guide
  • Reports
  • Send a contract to an outside recipient
  • Send a staff contract for signature
  • Switch offerings on and off
  • Using the Agent
  • Waivers & Terms
  • All Customer Management guides
  • Add a pack or pass to a customer
  • Adjust a customer’s credits or expiry
  • Advanced tracking
  • Book a customer into a class
  • Book a customer into a class every week
  • Change when a member’s membership ends
  • Change who attends a class place
  • Check a customer’s waiver status
  • Check a customer’s wallet and account limit
  • Check people in at the entrance
  • Check why a customer cannot use a pack
  • Confirm a customer's email or phone
  • Coupons
  • Customer Bookings
  • Customer Credit Expiry
  • Customer Details
  • Customer List
  • Export Data
  • Group customers with tags
  • Leads Management
  • Let other people spend from a customer’s account
  • Manage customer notes
  • Manage Discounts and Promotional Codes
  • Manage Family memberships
  • Products & Credits
  • Record a customer account payment
  • Referrals
  • Refund a customer’s wallet balance
  • Reschedule a customer’s class booking
  • Review a customer’s activity
  • All Classes guides
  • Activity Categories
  • Booking Availability on Class Sessions
  • Calendar
  • Cancelling and Deleting Class Sessions
  • Closing Bookings on a Class
  • Creating Classes
  • Editing Future Class Instances
  • Hold places in a class session
  • Instructor Assignments on Class Instances
  • Managing, Extending, and Deleting Class Series
  • Resolve class scheduling conflicts
  • Schedule and publish a class
  • Sell a class time as other offers
  • Set a booking minimum for a class
  • Set the number of places in a class
  • Set up a class draft
  • Set up online classes and appointments
  • Waitlists for Classes
  • Workshop vs Course: Which One Should You Use?
  • All Services guides
  • Allow group bookings for a service
  • Assign providers and resources to a service
  • Choose who can book a service
  • Create Services
  • Help members book a service
  • How Customers Book Services
  • How customers choose a service time
  • How customers pay for a service
  • Link products to a service
  • Make a service bookable
  • Manage Resources for Services
  • Set a service’s booking times
  • Set Availability Schedules
  • Waitlists for Appointments
  • All Appointments guides
  • Block time for resources
  • Book an appointment for a customer
  • Customers Managing Their Appointments
  • Pay for an appointment at the desk
  • Record appointment attendance
  • Repeat an appointment weekly
  • Reschedule or Cancel Appointments
  • View and Manage Appointments
  • All Pricing guides
  • Class Coverage for Products
  • Creating Memberships
  • Creating Packs
  • Product Settings Guide
  • Product Types Overview
  • Share Class Packs and Memberships Online
  • All Products guides
  • Choose what your Shop sells
  • Create a physical product
  • Creating Physical Products
  • Manage physical product stock
  • Organize physical products by category
  • Record stock changes
  • Set up Shop shipping and pickup
  • All Troubleshooting guides
  • Common Issues & Solutions
  • All Payments & Billing guides
  • Abandoned Checkout Recovery
  • Add a customer in POS
  • Annual summary
  • Billing details and invoices
  • Booking & Checkout Settings
  • Charge a POS sale to a customer's account
  • Charge a POS sale to someone else's account
  • Check AI agent usage
  • Check message usage and costs
  • Choose POS payment methods
  • Choose what a sales point sells
  • Complete a POS sale
  • Connect a cloud receipt printer
  • Finish an interrupted POS card sale
  • Gift Cards
  • Give a POS discount
  • Give a POS receipt
  • Invoice vs Receipt: What Naayya Provides
  • Manage a POS shift
  • Manage a POS tab
  • Manage hardware
  • Manage message credit
  • Manage sales points
  • Move or disconnect a POS iPad
  • Payment Methods & Payouts
  • Payment Review
  • Payment schedules
  • Payment Troubleshooting
  • Point of Sale
  • Read POS end-of-day reports
  • Record Offline Payments
  • Record your own card terminal
  • Refund a payment
  • Sales by staff
  • Sell a membership in POS
  • Sell retail items in POS
  • Send customer account messages
  • Set up a POS quick screen
  • Set up a sales point
  • Set up an entrance
  • Set up and manage a hardware device
  • Set up customer account charging
  • Set Up Get Paid
  • Tap to Pay on iPhone
  • Tax Settings
  • Usage
  • Use Naayya POS on iPad
  • All Integrations guides
  • Add a Lead Form to Your Website
  • Add your schedule to a Lovable app
  • Add your schedule to Framer
  • Add your schedule to Shopify
  • Add your schedule to Squarespace
  • Add your schedule to Webflow
  • Add your schedule to Wix
  • Add your schedule to WordPress
  • Manage integrations
  • Meta lead ads
  • Show Your Gift Cards on Your Website
  • Show Your Pricing on Your Website
  • Show Your Services on Your Website
  • Website Integration
  • Website Integration Troubleshooting
  • Website settings
  • What Customers See in Website Integrations
  • All Email Marketing guides
  • Connect an Instagram account
  • Create Instagram Content
  • Design and save Instagram content
  • Domain Verification Setup
  • Getting Started with Email Marketing
  • Managing Email Templates
  • Publish Instagram content now
  • Schedule Instagram content
  • Sending Email Campaigns
  • Sending Quick Emails
  • Turn off Instagram publishing
  • Using the Email Designer
  • All Automations guides
  • Editing an Automation
  • Getting Started with Automations
  • All Team & Access guides
  • Access Control
  • Adding Staff Members
  • Instructor profiles on a staff page
  • Instructor Status Management
  • Managing Instructor Profiles
  • People Overview
  • Provider Profiles
  • Public Profile Completion in My Work
  • Roles & Permissions
  • Staff Management
  • User Roles
  • All Finance guides
  • Create a payslip
  • Pay rules
  • Payouts
  • Payslips
  • All Performance guides
  • Attendance Rates
  • Class Fill %
  • Retention Rates
  • Session Feedback Stats
  • All Community / Feedback guides
  • Private notes on reviews
  • Reviews
DocsNaayya appBlogContact support
  1. Docs
  2. Integrations
  3. Website Integration
Open app

Website Integration

Add your Naayya schedule of classes, workshops, and courses to your website so visitors can browse and start a booking

Add your Naayya schedule to your own website. Visitors can browse upcoming public classes, workshops, and courses, open details, and start a booking from the widget.

New setups use the v2 widget. You copy the code from Admin → Settings → Storefront → Website embed, then paste it into your website.

To show your passes, class packs and memberships instead, see Show Your Pricing on Your Website. To show your appointments and court hire, see Show Your Services on Your Website. To show your gift cards, see Show Your Gift Cards on Your Website.

Who this is for#

Business owners and managers who run their own website, and staff whose role has Manage website. The schedule works with website builders that accept code, a link or a React component. Each builder has its own guide:

  • WordPress
  • Squarespace
  • Wix
  • Webflow
  • Framer
  • Shopify
  • Lovable

Get your embed key#

Open Admin → Settings → Storefront → Website embed. Naayya has already created your embed key and put it in the code. Under Which widget?, choose the widget you want. Select Schedule to add a schedule, or choose Pricing, Services or Gift cards. Under Website code, choose your builder in Where is your website built?, then copy what it needs:

  • Copy code: the code for builders that accept HTML with a script.
  • Copy iframe code: for blocks that remove scripts but keep an iframe (Squarespace and Other website).
  • Copy link: for builders that embed a link (Framer).
  • Copy React code: a React component (Lovable).

Open See code to read it first, or use Embed preview to see it live. Then paste the code in your website builder.

Add the schedule (2 lines)#

Paste the generated snippet into the page’s HTML or code block. Keep your generated embed key.

<script type="module" async src="https://www.naayya.com/plugin/v2/loader.js"></script>
<naayya-schedule business-id="YOUR_EMBED_KEY"></naayya-schedule>

Use your builder’s block if a rich-text block strips the code. Later changes to appearance and card settings appear on the next page load.

What the schedule shows#

The schedule lists your public classes, workshops, and courses. Each card is labelled Class, Workshop, or Course, and the booking button depends on what it is:

  • Classes show Book, or your own Button text.
  • Workshops show Book workshop, or your own Button text. A Tickets from price appears only when the workshop has its own linked ticket product, not from a class pack or membership.
  • Courses show View course, which opens the whole-course page. When a single session can also be booked on its own and has its own price, a second button, Single session with that price, opens that session's checkout. A course does not appear in the schedule until it has an active, published whole-course program.

Services are not part of this schedule. Older snippets that include a kinds attribute keep working and show the same classes, workshops, and courses.

Options#

The copied code holds only business-id. If you edit the v2 element yourself, these attributes control its display. An attribute you add wins over the matching setting in the Website embed section:

AttributeValuesWhat it does
business-idembed keyRequired. Identifies the schedule to show. Keep the value from the generated snippet.
modeinline (default), popup, floatShows the schedule in place, behind a button, or behind a floating button.
themelight (default), dark, autoSets the widget's colour theme. auto follows the visitor's system setting. Without it, the widget uses the Theme set in the Website embed section.
trigger-labeltextButton text for popup and float modes.
teacherscomma-separated idsPre-filters the schedule to selected instructors.
locationscomma-separated idsPre-filters the schedule to selected locations.
categoriescomma-separated namesPre-filters the schedule to selected class categories.
hide-filterspresent or absentHides the filter controls, whatever Filters says in the Website embed section.
kindsolder snippets onlyNo longer limits what shows. The schedule includes classes, workshops, and courses.

Display modes#

The mode values are listed above. For a popup button with your own label:

<naayya-schedule business-id="YOUR_EMBED_KEY" mode="popup" trigger-label="Book a class"></naayya-schedule>

Match your brand#

The embed starts from your saved business brand. Under Appearance in the Website embed section, change any of these for the embed only:

  • Theme: Light, Dark, or Match device, which follows the visitor's light or dark setting.
  • Colours: Buttons, Button hover, Background, Cards, Text, Light text, and Lines.
  • Font: use a font your website already loads, for example Poppins. Type one name or a list separated by commas, such as "Open Sans", Arial. A name in quotes needs both quotes. The font saves once the list is complete.
  • Text size, Card corners, Button corners, Spacing, and Card shadow.

Under Schedule cards, choose whether each card shows the Instructor, Price, Places left, and Short description, set the Button text, and turn Filters on or off. An Instructor, Price, or Places left you turn off is also left out of the details that open from a card.

The lead form follows Appearance too.

Changes save as you go, and your website shows them the next time a page loads. Anything you have not changed keeps following your brand, except that the Dark theme uses dark colours in place of your brand colours. Use brand puts the appearance back to your brand. The Embed preview is the real embed, and you can check it in Desktop and Mobile layouts.

Code copied before these settings existed may have settings written into it: colours, font, and corner shape if Customize this embed was selected, and hide-filters unless Let visitors filter the schedule was selected. Those keep showing whatever the Website embed section says. Copy the code again and replace the old snippet once, so your website follows the Website embed section.

Website developers can still override any style with CSS on the naayya-schedule element, for example naayya-schedule { --naayya-color-primary: #2f3e35; }. CSS on your website wins over the Website embed section.

React and Next.js#

If your site is a React or Next.js application, Naayya provides a React wrapper for the same schedule widget:

import { createNaayyaSchedule } from 'https://www.naayya.com/plugin/v2/react.js'
import React from 'react'

const NaayyaSchedule = createNaayyaSchedule(React)

export function Schedule() {
  return <NaayyaSchedule businessId="YOUR_EMBED_KEY" mode="inline" theme="auto" />
}

Keep the businessId value from the snippet in the Website embed section. For an app built with Lovable, choose Lovable and select Copy React code: it gives a ready component that loads this wrapper. See Add your schedule to Lovable.

Where to paste it#

  • WordPress: edit the page and add a Custom HTML block.
  • Squarespace: add a Code block, or an Embed block with the iframe code.
  • Wix: add an Embed code element and choose Embed HTML.
  • Webflow: add a Code Embed element.
  • Shopify: add a Custom Liquid section in the theme editor.
  • Framer: add an Embed set to URL and paste the link.
  • Other builders: use an HTML or embed section that accepts custom code. If it removes scripts, use the iframe code.

Your websites#

The link and the iframe code show your schedule, and your pricing widget, services widget and gift cards widget, only on the websites you list under Your websites in the Website embed section. Add each address your website opens on, one per line, then select Save websites. When you add yourwebsite.com, Naayya also adds www.yourwebsite.com, and the other way round.

A list does two things:

  • Only the websites on it can show the schedule in a frame (the link or the iframe code).
  • Only the websites on it can load the schedule from the code.

Leave the list empty and the code works on any website, but no website can show the schedule in a frame, so Copy link and Copy iframe code are not available until you list a website. A website builder's editor or preview runs on the builder's own address, so the schedule may not show there. Check it on your published website.

What the widget does not do#

See what visitors can book and where checkout happens. The schedule excludes physical products and cart controls.

Classic embed (v1, retired)#

The older iframe and data-naayya-calendar embed no longer works. If your site still has it, replace the old code with the generated v2 code and review the result with Embed preview in the Website embed section.

Related#

  • Show your pricing on your website
  • Show your services on your website
  • Show your gift cards on your website
  • Add a lead form to your website
  • What customers see in website integrations
  • Website integration troubleshooting
PreviousShow Your Services on Your WebsiteNextWebsite Integration Troubleshooting

On this page