Book Online Button
Book Online Button Widget
The Book Online Button widget adds a customizable button to your website that redirects users to your Barberly booking page when clicked.
How It Works
When visitors click the button on your website, they are redirected to your Barberly booking page where they can schedule an appointment.
Use Cases
- Add to your homepage to make booking immediately accessible
- Place on your services page next to service descriptions
- Include in your website header or footer for easy access from any page
- Add to your contact page as an alternative to phone booking
Setting Up Your Book Online Button
Create a New Instance
- Log in to your Barberly account at portal.barberly.com
- Navigate to Menu → Apps → All Widgets
- Click on the Book Online Button option
- Select Create New Instance
- Give your new button instance a name (e.g., “Homepage Button”)
Configure Button Settings
In the configuration section, you can set:
- Button Text: Customize the text that appears on the button (e.g., “Book Now”, “Schedule Appointment”, etc.)
- Booking URL: Enter the URL to your Barberly booking page
Customize Button Style
Adjust the following styling options to match your website design:
- Background Color: Choose a color that complements your website’s color scheme
- Text Color: Select a color that provides good contrast with the background
- Padding: Adjust the internal spacing of the button (format: top/right/bottom/left)
- Border Radius: Set the roundness of the button corners
- Font Weight: Make the text normal, bold, etc.
- Box Shadow: Add a shadow effect to make the button stand out
Preview and Test
Use the live preview to see how your button will look on your website. Click the button to test that it redirects correctly to your booking page.
Get the Integration Code
Once you’re satisfied with your button:
- Copy the generated code from the “Copy this code to your website” section
- Paste the code into the HTML of your website where you want the button to appear
- Save and publish your website changes
Website Platform Integrations
For platform-specific integration instructions, check out these guides:
- Adding Barberly Booking to WordPress
- Adding Barberly Booking to Wix
- Adding Barberly Booking to Squarespace
Example Integration Code
<div id="8854691ef448cad2ae94bb4cc5b9a-container"></div>
<script src="https://widgets.barberly.com/barberly-widgets.js" data-business-id="house13" data-widget-id="button_8854691ef448cad2ae94bb4cc5b9a" data-container-id="8854691ef448cad2ae94bb4cc5b9a-container"></script>
Managing Multiple Button Instances
You can create multiple button instances with different designs for different sections of your website:
- Log in to your Barberly account at portal.barberly.com
- Navigate to Menu → Apps → All Widgets
- Select “Book Online Button”
- Create additional instances as needed
- Each instance will have its own unique integration code
Updating Your Button
To update a button that’s already live on your website:
- Log in to your Barberly account at portal.barberly.com
- Navigate to Menu → Apps → All Widgets
- Find and edit the button instance
- Make your desired changes
- Save the changes
- The button on your website will update automatically (no need to update the code on your website)