Skip to content

A book-direct badge for your hotel's website.

A small price comparison widget in the corner of your page. It says Best price here over your direct price on every night. When yours is the lowest or the same, it shows guests the OTAs' prices for the same stay beside it. Otherwise it shows your own price alone.

hotelaurora.gr/rooms/deluxe-double

Deluxe Double

Breakfast included

€188 / night

Book now
Night of Fri 16 Oct · 2 adultsChecked 12 min ago
Best price here

Save €8

Same stay elsewhere

  • Booking.com199
  • Expedia204
  • Trip.com196
Book direct€188
Price check by StayParityEUR
Illustrative. Hotel Aurora is fictional.
  • 1

    script tag to add

  • 2

    verdicts where it lists the OTAs: cheapest or the same price

  • 0

    OTA prices shown when one is cheaper

Four verdicts. It names the OTAs on two.

It lists their prices only when that helps you, and otherwise shows your own price alone.

Cheapest

Save €8

Your direct price, each OTA's price for the same stay beneath it, and how much a guest saves by booking with you.

Same price

Same price, booked direct

Your direct price, with the OTAs' prices beneath it. A guest loses nothing by booking with you. It shows only when the cheapest OTA's price equals yours exactly.

Only here

€188 per night

No OTA is selling the stay, so there is nothing to compare. The badge shows your direct price under its Best price here seal, and no OTAs.

Undercut

€188 per night

An OTA sells for less. The badge shows only your direct price under its Best price here seal, as it does when no OTA sells the stay, and names no OTA. The undercut goes to your queue.

The badge speaks English. Turn on translation and it speaks your guest's language instead, when their browser prefers Greek, Spanish, Italian, German or Czech.

What the badge shows, and what it never does.

It sits on your site, so it only ever makes your case.

Always

  • A Best price here seal over your direct price
  • Your direct price on the Book direct button, in your currency or the one a guest picks if you let them switch, written the way their browser writes prices
  • A Book direct button to your booking page, in your guest's language when translation is on
  • How long ago the prices were checked

Never

  • An OTA's price when it's lower than yours: then it names no OTA at all
  • Anything from inside the product: no ids, no confidence, no cost, no supplier
  • An empty box: when it has nothing to show, it takes no space

One tag, pasted once.

Copy it from the portal, paste it in your site's footer, and check it from the portal. Change the badge's look, language or currency later and every page follows within a minute, with the same tag.

No access to the code? Tag manager gives the same tag as a Custom HTML tag, and Pass it on writes the message for whoever runs your site.

fig. 1Live. Until a guest picks a night, it prices the nearest one we checked in the last day.
HTML
<!-- StayParity book-direct badge. Its look is set in StayParity. -->
<script src="https://badge.stayparity.com/embed.js" data-hotel="wk_aurora" async></script>

Which night it prices

It reads the check-in date and adults from your page’s address and booking form. Until it has a date, it shows the nearest priced night, or nothing with Nearest priced night off. If your form runs in its own frame, put the night in the address, such as ?checkin=2026-10-04&adults=2.

What the tag takes

data-hotel
Your hotel's key. Required: without it, nothing shows. The badge's look is set in the portal, not on the tag.
data-consent
Optional. With "none", in upper or lower case, the badge leaves the page view out of its counts, and test mode lasts one page and stores nothing in the browser. The portal adds it to your snippet when you switch on Don't count views.

Yours to switch on.

All are off until you set them on your Website badge page. Perks are the ones you pick, and the exit offer needs a live code. Pick one to see what your guest gets.

Switches on your Website badge page

Each is off by default. The badge never shows a cheaper OTA, whatever is on.

hotelaurora.gr/rooms/deluxe-double
fig. 2Exit offer. Leaving through the top opens it once a visit, on desktop. A code to copy: no countdown, no discounted price.

What it keeps in your guest's browser

updates with the switches
stayparity-opened:<key>this visitSet once it has opened without your guest asking, or your guest has closed it, so it won't open by itself again."unasked"
stayparity-exit:<key>this visit"1" once leaving has shown the offer or your guest followed Book direct."1"
stayparity-exit-done:<key>localWhen your guest closed the offer. Removed on their next visit to a page with your badge after 7 days, or once the offer stops showing.empty

Kept on your guest's device, so your cookie banner or consent setup may need to cover it. No cookies, no IDs, and of what your guest entered only the night they kept. Under data-consent="none" none of it is read or written. The usage count it sends carries no ID, URL or stay date.

Illustrative. Hotel Aurora is fictional.

Light on your page, and walled off from it.

It never holds up your page and sets no cookies.

Never holds up your page

The tag is async, so your page never waits for it. The badge starts loading only once your page has loaded.

Small

As browsers download them, compressed, the loader is about 9 kB and the badge's script about 32 kB more, with no web font to fetch.

No cookies

The frame is sandboxed with no cookies or storage of its own, and its requests carry no credentials. The script sets no cookies. With the extra switches off it stores nothing. On, it keeps small notes on the guest's device that your cookie banner or consent setup may need to cover, and none under data-consent="none".

Fits your page

It docks in the corner you pick, lifted clear of your own buttons. Its button takes your colour if it reads clearly, it is light, dark or follows the guest's setting, and its corners are square, rounded or pill.

About the badge.

No. When an OTA sells for less, the badge still says Best price here over your own price, and names no OTA. The undercut goes to your queue, for you to fix.

Start your free trial

Give us your website. We'll read the next 30 nights.

No card, no install. The next 30 nights, against Booking.com, Expedia and the other big OTAs.