> For the complete documentation index, see [llms.txt](https://docs.yoplanning.support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yoplanning.support/en/yoplanning-academy/yoplanning-parametrage/module-de-reservation/integration-du-module-de-reservation/integration-du-module-de-reservation-yoplanning-sur-le-cms-squarespace.md).

# Squarespace

### What is the purpose of the booking module integration feature?

Integrating the Yoplanning booking module on Squarespace makes it easy to book online directly from your Squarespace website. This optimizes the user experience by offering a smooth and integrated booking process without leaving the site.

### Steps to use the feature

### **Go to Squarespace and find the appropriate section**

1. **Squarespace Login**: Log in to your Squarespace account.
2. **Navigation to Site Settings**: From the main menu, select **"Website"**.

**Add the embed code in the header of the pages**

1. **Access page settings**:
   * Go to **"Pages"**.
   * Select the page where you want to integrate the booking module.
   * Click on the small gear next to the page name to access the page settings.
2. **Add Embed Code**:
   * In the page settings, find the **"Advanced Features"** tab.
   * Locate the section for **"Injecting code into the header"**.
   * Repeat the operation on all the pages where you want to put a reservation module button.
   * Paste the following embed code:

```
<script type="text/javascript" src="https://booking.yoplanning.pro/integration/script.js" async></script>
```

**Important Note**: This feature is only available to Squarespace users with a premium subscription (business plan).

### Usage tips and best practices

* **Check the code**: Make sure the embed code is correctly copied and pasted without modifications to avoid loading errors.
* **Test the integration**: After integrating the module, test the booking process to ensure it works properly.
* **Optimize display**: Adjust the design of the booking module to match the visual style of your Squarespace site.

### Common mistakes and solutions

* **Module not displayed**:
  * **Solution**: Check that you have pasted the embed code into the correct section of the page settings.
* **Compatibility Issues**:
  * **Solution**: Make sure your Squarespace subscription is the Business plan, which is required to use advanced code injection features.
* **Slow loading or display errors**:
  * **Solution**: Contact Squarespace Support to check if there are any known compatibility issues or platform limitations that could affect the integration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yoplanning.support/en/yoplanning-academy/yoplanning-parametrage/module-de-reservation/integration-du-module-de-reservation/integration-du-module-de-reservation-yoplanning-sur-le-cms-squarespace.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
