# Wix

<div align="center"><figure><img src="/files/FTAHwwXOZZFZO57M4W6L" alt="" width="128"><figcaption><p>Wix logo</p></figcaption></figure></div>

{% hint style="info" %}
**Important**: Before you begin, make sure that your site is published and has a connected domain.
{% endhint %}

1. Go to [Settings](https://www.wix.com/my-account/site-selector/?buttonText=Open%20Settings\&title=Select%20a%20Site\&autoSelectOnSingleSite=true\&actionUrl=https://www.wix.com/dashboard/{{metaSiteId}}/settings) in your site's dashboard.

   <figure><img src="/files/8riHQ6UUyTcXbCAnowWJ" alt=""><figcaption><p>Wix Settings</p></figcaption></figure>
2. Click the **Custom Code** tab in the **Advanced** section.
3. Click **+ Add Custom Code** at the top right.
4. Go to your [SiteBehaviour Organisation's page](https://web.sitebehaviour.com/a/org) and click on the **Settings button** for your site.
5. Go to the Tracking code tab.
6. Click on **Copy** to copy the Tracking Code to your clipboard.
7. Return to Wix and paste the SiteBehaviour Tracking Code in the custom code text field.
8. Select the **Add Code to Pages** option, we recommend selecting **All pages**.
   * **All pages:** This adds the code to all of your site's pages, including any new pages that you create in the future. Choose whether to load the code only once per visit or on each page, your visitor opens.
   * **Choose specific pages:** Use the drop-down menu to select the relevant pages.
9. Under the **Place Code** option, select **Head**.
10. Click **Apply** to confirm the changes.
11. After allowing a couple of minutes for the update, check [SiteBehaviour's Dashboard](https://web.sitebehaviour.com/a/dashboard) for statistics. We recommend visiting your website to ensure that your initial activity is accurately reflected on the [SiteBehaviour Dashboard](https://web.sitebehaviour.com/a/dashboard).

    &#x20;


---

# 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://docs.sitebehaviour.com/guides-and-integrations/wix.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.
