Weglot

Translate your Zigpoll surveys with Weglot

Integrate Weglot with Zigpoll to automatically translate your surveys into whatever language your customer prefers. This requires a Pro plan or better.

Step #1: Add Weglot to Your Survey's Custom Code

  1. Go to Zigpoll → Surveys → Select your survey → Click the Design tab.

  2. Scroll to the bottom where it says Custom Code.

  3. Enable this setting and paste in the following code snippet:

<script src="https://cdn.weglot.com/weglot.min.js"></script>
<script>
// In your iframe
Weglot.initialize({
    api_key: "wg_xxxx", // Replace with your Weglot API key
    hide_switcher: true // You already have a switcher in parent window
});
</script>

Step #2: Update Your Existing Weglot Code

Update your existing Weglot code integration on your website to include the Zigpoll iframe IDs:

<script src="https://cdn.weglot.com/weglot.min.js"></script>
<script>
// In your parent window
Weglot.initialize({
    api_key: "wg_xxxx", // Replace with your Weglot API key
    translate_iframes: ["#zigpoll-hide-frame", "#zigpoll-launcher-frame", "#zigpoll-poll-iframe"]
});
</script>

That's it! Your Weglot integration should now be completely set up and your survey will be translated into whatever language your customer prefers.

Last updated