Skip to Content
Embed Buttons

Add a Booking Form to Wix

Add the Avenue booking form to a Wix site by pasting the embed script into Custom Code under Settings. Needs a Premium Wix plan with a connected domain.

Add Avenue's booking form to a Wix site by pasting the script into Custom Code under Settings. It needs a Premium Wix plan with a connected domain. Once it's in, the Book Online button appears on every page of your site.

What you'll need

  • Access to your Wix account dashboard, as the site owner or an admin.
  • A Premium Wix plan with a connected domain. Wix only offers Custom Code on paid plans.
  • Your Avenue embed code, sent to you by email when your form was set up.

How it works

The embed code is one line of script. It goes in your site's header so it loads on every page, and the Book Online button appears in the corner once it's there.

Your embed code looks like this:

<script src="https://embed.avenue2.au/loader.js" data-public-token="YOUR_TOKEN"></script>

Wix has a Custom Code area in its settings where you paste it. Each step below shows the screen you'll see.

Add the embed code

Select your site

  1. Log in to your Wix account.
  2. From the dashboard, select the site you want to add Avenue to.

Select your Wix site

Open Settings

  1. In the site's dashboard menu, scroll down and click Settings.

Open Settings in the Wix dashboard

Open Custom Code

  1. In Settings, scroll to the Development & integrations section.
  2. Click Custom code.

Open Custom code under Development and integrations

Add a new code snippet

  1. Click + Add Custom Code in the top right.

Click Add Custom Code

Paste the embed code

  1. Paste your Avenue embed code into the Paste the code snippet here field.
  2. In the Name field, enter a name such as "Avenue Form".
  3. Under Add Code to Pages, select All pages and leave Load code once selected.

Paste the Avenue embed snippet and name it

Set the placement

  1. Scroll down to Place Code in.
  2. Select Head.

Set placement to Head

Set the code type

  1. Open the Code Type tab at the top of the dialog.
  2. Select Essential so the button loads for every visitor.
  3. Click Apply.

Set code type to Essential and apply

Check your site

  1. Make sure the toggle next to your new code is on.
  2. Open your published website and refresh the page.
  3. The Book Online button appears in the corner.

What happens next

  • The Book Online button sits in the corner of every page of your site, on desktop and on phones.
  • Open your site and make a test booking so you can see it land in your dashboard.
  • The other quick actions, Request a quote, Text us and Call us, come with it wherever your form has them switched on. The embed buttons explain each one.

If the button doesn't show

  • Your site hasn't been published since you added the code, or Wix is still serving the old page. Publish again and refresh.
  • The code was placed in Body - start or Body - end instead of Head. Edit the snippet and move it.
  • The script was pasted twice, as two snippets or once in a page's own embed element as well. Keep one copy and remove the rest.
  • The toggle next to the snippet is off.

Good to know

  • Your own Book Now button. Any button or link on your site can open the form. Give it the class open-avenue and it works like the Book Online button. The embed buttons explain how.

Support

Contact Avenue support at info@avenue2.au if you need help adding the embed to your Wix site.