# Wix

If you're looking to collect feedback, run surveys, or engage visitors directly on your Wix site, **Zigpoll** makes it easy. This guide walks you through installing the Zigpoll embed script using Wix’s built-in **Custom Code** feature—no coding required.

#### 🔧 Step 1: Copy Your Zigpoll Embed Script

First, head to your Zigpoll dashboard and:

1. Click Settings
2. Click **“Installation”**
3. Copy the JavaScript embed code Zigpoll provides (it will look something like this):

```html
<script type='application/javascript'>
  ;(function () {
    window.Zigpoll = {
      accountId: 'YOUR_ACCOUNT_ID'
    };

    var script = document.createElement("script");
    script.type = "text/javascript";
    script.charset = "utf-8";
    script.src = "//cdn.zigpoll.com/static/js/main.js";
    script.async = true;

    document.head.appendChild(script);
  }());
</script>
```

> Replace `YOUR_ACCOUNT_ID` with your actual account ID

***

#### 🌐 Step 2: Log In to Your Wix Dashboard

1. Go to your Wix site’s **Dashboard**.
2. In the left-hand menu, click on **Settings**.

***

#### 💻 Step 3: Add the Zigpoll Script to Your Site

1. Scroll down and find the **Custom Code** section under the **Advanced** tab.
2. Click **+ Add Custom Code**.
3. Paste your Zigpoll embed script into the field.
4. Under **Place Code in**, choose **Body - end** for most cases (Zigpoll loads asynchronously, so this is safe).
5. Choose whether you want the survey to appear on:
   * **All pages** (e.g. site-wide feedback)
   * Or a **specific page** (e.g. post-purchase survey)
6. Give it a name like "Zigpoll Script" and click **Apply**.

***

#### ✅ You’re Done!

Your Zigpoll survey will now appear on the selected pages of your Wix site. No need to modify page content or deal with complex integrations.

***

#### 💡 Pro Tip

Want to trigger the survey based on user behavior (like scroll, time on page, or exit intent)? You can configure these settings in the Zigpoll dashboard under **“Behavior”** without needing to update the code again.
