> ## Documentation Index
> Fetch the complete documentation index at: https://docs.locadapt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Squarespace

> Learn how to set up Locadapt on your Squarespace site

Integrating Locadapt with your Squarespace site is a simple process. Follow these steps to get started:

<Steps>
  <Step title="Access Advanced Settings">
    1. Log in to your Squarespace account.
    2. Go to the Home Menu of your site.
    3. Click on **Settings**.
    4. Scroll down and click on **Advanced**.
  </Step>

  <Step title="Open Code Injection">
    In the Advanced settings, find and click on **Code Injection**.
  </Step>

  <Step title="Add Locadapt Code">
    In the **Header** section of Code Injection, paste the following code:

    ```html theme={null}
    <link rel="stylesheet" href="https://cdn.locadapt.com/locadapt.min.css" />
    <script 
      src="https://cdn.locadapt.com/locadapt.min.js" 
      data-project-id="YOUR_PROJECT_ID"
    ></script>
    ```

    <Warning>
      Make sure to replace `YOUR_PROJECT_ID` with the actual project ID provided in [the configuration page](https://app.locadapt.com/configuration) for your Locadapt project.
    </Warning>
  </Step>

  <Step title="Save Changes">
    Click the **Save** button at the top of the page to apply your changes.
  </Step>
</Steps>

<Tip>
  After saving, it's a good idea to preview your site to ensure everything is working correctly. You can do this by clicking on the eye icon in the top left corner of your Squarespace editor.
</Tip>

## Troubleshooting

If you encounter any issues or don't see Locadapt working on your site, try the following:

1. Double-check that you've replaced `YOUR_PROJECT_ID` with your actual Locadapt project ID.
2. Clear your browser cache and reload the page.
3. Ensure that the code is placed in the Header section and not the Footer section of Code Injection.
4. Check if there are any JavaScript errors in your browser's developer console.

If problems persist, don't hesitate to reach out to our support team at [support@locadapt.com](mailto:support@locadapt.com).
