Add a Book & pay button to your website

Paste one snippet on your site. Patients tap it, OpenDoc opens, and they choose Book now, pay later or Pay cash now. It works on any website, with no setup and no developer.

What patients see

Set it up in 2 minutes

  1. Sign in to your OpenDoc dashboard and open Add to your website.
  2. Pick the provider and copy the snippet. It already has the right NPI.
  3. Paste it on your site where the button belongs (steps for your site builder below).
  4. Publish, then click the button once to check it.

Not on OpenDoc yet? Join free, then come back here.

The snippet

Your dashboard fills in your NPI for you. It looks like this:

<a href="https://opendoc.com/book/YOUR_NPI" target="_blank" rel="noopener" data-opendoc-button>Book &amp; pay now</a>
<script src="https://opendoc.com/opendoc-button.js" async></script>

If your site builder only lets you link a button, use the button link instead:

https://opendoc.com/book/YOUR_NPI

Where to paste it

Wix

  1. Open your site in the Wix Editor and go to the page where the button belongs.
  2. Click Add (+), then Embed Code, then Embed HTML.
  3. Choose Code, paste your snippet, and click Update.
  4. Drag the box where you want the button, then Publish.
  5. Or skip the code: add a Wix button, click Link, choose Web Address, paste your button link, and pick New Window.

Squarespace

  1. Edit the page and click Add Block (+) where the button belongs.
  2. Choose Code.
  3. Paste your snippet, make sure the mode is HTML, and click outside the block.
  4. Save, then check the live page.
  5. Or skip the code: add a Button block, paste your button link as the link, and turn on Open in New Tab.

WordPress

  1. Edit the page and click the block inserter (+) where the button belongs.
  2. Search for Custom HTML and add that block.
  3. Paste your snippet.
  4. Update or Publish the page.
  5. Or skip the code: add a Buttons block, paste your button link as the link, and turn on Open in new tab.

Any other website

  1. Paste the snippet into the page's HTML where the button should appear.
  2. If your site only lets you link a button, use your button link instead.

Questions

What do patients see?
Your button opens OpenDoc in a small window or a new tab. Patients choose Book now, pay later (they ask for a time, your office confirms it, then they pay) or Pay cash now at the cash price you posted.
What if I haven't posted a cash price?
The button still works. Patients see only Book now, pay later. Pay cash now appears by itself once you post a price on OpenDoc.
Do I need to register my website or change any settings?
No. The button opens opendoc.com, so it works on any website without setup.
Does it slow down my site?
No. The script is a few kilobytes, loads after your page, and only styles the button. Without it, the link still works.
Can I change the words on the button?
Yes. Change the text between the <a> and </a> tags. Keep the rest the same.
Can I use my own button style?
Yes. Add data-style="none" inside the <a> tag and style it like any link on your site, or link your site's own button to your button link.

Full install guide in plain markdown (finding the NPI, every option, testing, troubleshooting): /providers/website-button.md

OpenDoc sitemap