# Framer

Looking to collect feedback or run targeted surveys on your Framer site? With **Zigpoll**, you can embed fully customizable surveys in just a few clicks. In this guide, we’ll show you how to install the Zigpoll script using Framer’s **HTML Embed** block—no custom hosting or backend code required.

***

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

1. Go to your Zigpoll dashboard.
2. Click **“Installation”**&#x20;
3. Copy the JavaScript snippet:

```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: Open Your Framer Project

1. Go to Framer and open your project.
2. Navigate to the page where you want to embed the survey.

***

#### 💻 Step 3: Add an Embed Block

1. From the **Insert Menu (press `I`)**, search for **“Embed”**.
2. Drag the **Embed** block into your page.
3. Click the block to open the **Code Editor**.
4. Paste your Zigpoll embed script into the editor.
5. Click **Save**.

> 📌 *The embed block runs client-side scripts, so your Zigpoll widget will appear where the block is placed.*

***

#### ✅ That’s It!

Your Zigpoll survey is now live on your Framer site! It will trigger based on your chosen display behavior—like exit intent, delay, or scroll depth—set in the Zigpoll dashboard.

***

#### 💡 Optional Tips

* To trigger surveys **site-wide**, you can add the script on a **shared header/footer component** or duplicate the Embed block across pages.
* Want it invisible and triggered by behavior (not inline)? Add the embed script to a hidden frame and let Zigpoll’s settings handle visibility.
