Adding code before the </head> section

We use Peek.com to schedule our tours on our website, but in order to use their booking system, we need to add a Book Now button which opens in a popup to allow people to book their tour. To add the button to our page, we must first paste code in the header section of each page that will have the button. Then we can paste the Peek javascript to the page to add the Book Now button to our page.

This works in theory, doesn’t seem work in practice. In the Add Header Code Meta Tags section of Wix, it will only accept verification code from Google Console, Bing Webmaster Tools, Twitter Cards and Pinterest. In the Tracking and Analytics section, there is space to add any code to the Header, Body Start, and Body End, but adding the Peek code seems to do nothing. It seems that the only code accepted is from Google, Bing, Twitter, and Pinterest.

I have also tried using the Wix Code feature to add the code directly to the site, but it gives me errors.

This is the code to be placed in the Header section of the website:

This is the code to place the Book Now button on the website:

Norco Two Hour Trail Ride

Is it possible to integrate javascript from other websites, or is that still a work in progress?

Hi,

See the article Accessing 3rd Party Services for information on interfacing with external web services.

Good luck,

Yisrael