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 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. Show Your Gift Cards on Your Website
Open app

Show Your Gift Cards on Your Website

Add your gift cards to your website so visitors can buy one in a Naayya window

Show the gift cards you sell. Customers choose the amount and pay on Naayya.

Who this is for#

Business owners and managers with their own website. See supported builders. To create an offer, see Gift Cards.

Add the gift cards widget#

Under Which widget?, choose Gift cards. Follow the shared copy and paste steps.

The code looks like this:

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

Use the generated embed key. When embedding several widgets on one page, add one element per widget and one loader script for the page.

What the widget shows#

The widget shows the gift cards on your gift cards page, in the same order. A gift card marked Inactive in Admin → Gift Cards does not show. Each card shows:

  • The name, on a card in the gift card's own colours with your business name.
  • The amounts customers can choose, smallest first. These are the amounts you set in Price Options, and they are what checkout charges.
  • How long the gift card is valid once bought, from Valid for.
  • A Buy button.

A gift card with no amount customers can buy does not show.

Buying a gift card#

When a visitor selects Buy, the gift card's purchase page opens in a small window over your website:

  • The visitor chooses an amount and who the gift card is for, then pays by card.
  • A visitor already signed in to Naayya in that browser buys from their account. Anyone else buys as a guest. A guest can send the gift card by email now or keep it. A signed-in customer can also choose to send it later from their account.
  • When the purchase is complete, the window closes and the widget shows Purchase complete.
  • If the visitor closes the window without paying, nothing changes.
  • If the visitor's browser blocks pop-up windows, the purchase page opens in a new tab instead, and the widget does not show a confirmation.

The widget is told only that a purchase was completed. It is never told who bought the gift card, who it is for, or which amount they chose.

Choose which gift cards show#

In the Website embed section, with Gift cards selected, the Gift cards section sets which gift cards the widget shows:

  • Show everything (on): every gift card you sell, in the same order, including any you add later.
  • Show everything (off): only the gift cards you turn on, in the order you set. Turn each gift card on or off, and use the up and down arrows to move it. A gift card you add later stays off until you turn it on.

If you mark a chosen gift card Inactive in Admin → Gift Cards, it leaves the widget. When you make it active again, it comes back in the same place.

Changes save as you go. The Embed preview shows your choice straight away, and your website shows it the next time a page loads, without new code.

Match your brand#

Use the shared Appearance settings. Schedule cards applies only to the schedule. The gift card keeps the colours of its own design.

Your websites#

The Your websites rules apply to this widget for both code and frames.

React and Next.js#

For an app built with Lovable, choose Lovable and select Copy React code. In another React or Next.js app, use the wrapper directly:

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

const NaayyaGiftCards = createNaayyaGiftCards(React)

export function GiftCards() {
  return <NaayyaGiftCards businessId="YOUR_EMBED_KEY" />
}

Related#

  • Gift Cards
  • Website Integration
  • Show your pricing on your website
  • Show your services on your website
  • Website integration troubleshooting
PreviousMeta lead adsNextShow Your Pricing on Your Website

On this page