# SquareSpace

{% hint style="warning" %}
**IMPORTANT**

If your  SquareSpace's theme uses AJAX, you must disable it before you install ReferralHero, otherwise it won't work. You can read the instructions [here](https://support.squarespace.com/hc/en-us/articles/115000253288-Ajax-loading).&#x20;
{% endhint %}

**Step 1**: Login onto your Squarespace account, choose your website and go to the **Settings**.

**Step 2**: From the **Settings menu,** navigate to **Advanced** > **Code Injection**

![](/files/-LuiN82YnIplhrPElMD1)

**Step 3:** Go to your *Campaign Overview> Edit Campaign > Launch instructions* and copy your **Tracking Code**&#x20;

**Step 4**: Paste the ReferralHero Tracking Code in the Header section text area and save your changes.

**Step 5**: Go back go Squarespace dashboard and click Pages.

**Step 6**: Choose the page where you want to install ReferralHero and click **Edit**.&#x20;

**Step 7**: In edit mode, add a content block **Code**.

![](/files/-LuiNVyq05tXWE1Vc4A5)

**Step 8**: In the content area, paste `<div id='referralhero-dashboard-MFxxxxxxxxxx'></div>`

{% hint style="warning" %}
**Important:** Replace `'MFxxxxxxxxxx'` with your actual campaign UUID.
{% endhint %}

**Step 9**: Save your changes and the embeddable widget will appear on the page.


---

# Agent Instructions: 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:

```
GET https://support.referralhero.com/integrate/platform/squarespace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
