Wordpress
Want to run beautiful, customizable surveys on your WordPress site? With Zigpoll, you can capture customer feedback, offer discounts, or trigger polls based on behavior—no coding required. This guide covers two easy ways to integrate Zigpoll: using the official WordPress plugin or by pasting the embed script manually.
✅ Option 1: Use the Official Zigpoll WordPress Plugin (Recommended)
For the easiest setup, install the Zigpoll WordPress plugin directly from your admin dashboard.
🔗 Plugin Link:
👉 Zigpoll WordPress Plugin on WordPress.org
🔧 How to Install:
In your WordPress Admin Dashboard, go to Plugins → Add New.
Search for "Zigpoll".
Click Install Now, then Activate.
Once activated, go to Settings → Zigpoll in the sidebar.
Paste your Zigpoll Account ID (get it by going to Zigpoll → Settings).
📝 The plugin handles everything: loading the embed script, assigning survey IDs, and injecting it on the pages you choose.
🛠 Option 2: Manually Add the Zigpoll Embed Script
If you prefer not to use a plugin, you can manually insert the Zigpoll embed script:
Step 1: Copy Your Zigpoll Embed Code
Open your Zigpoll dashboard.
Choose a survey and click “Install”.
Copy the provided JavaScript snippet:
<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>
Step 2: Paste It into Your Site
Option A: Add to All Pages
In your WordPress Admin Dashboard, go to Appearance → Theme File Editor.
Select the
footer.php
file.Paste your Zigpoll script just before the closing
</body>
tag.Click Update File.
Option B: Add to a Specific Page
Edit the page where you want the survey.
Switch to the Code Editor (or use a Custom HTML block if you're using Gutenberg).
Paste the Zigpoll script.
Save or update the page.
⚠️ Only use the manual method if you’re comfortable editing theme files or working with HTML.
✅ You’re Done!
Zigpoll will now appear on your WordPress site—fully styled and behavior-driven. You can customize trigger settings (like exit intent or delay) directly from your Zigpoll dashboard without editing the code again.
Last updated