• Register
  • Login
  • Pricing
  • Support
    • Support
    • Tutorials
    • Blog
    • Guide
    • Support Forum
  • Create PollUnit

Embed PollUnit

Polls, surveys and photo contests on your own website

Integrate polls surveys and polls on your own website. Here we show you how to embed your PollUnit on your homepage. No advanced programming knowledge is needed.

Embedded polls and surveys

You can embed any PollUnit type on your homepage. This way you can easily integrate appointments, ratings and polls about images on your website. First you have to create a PollUnit. How, you can find out here:

Create your first poll
Voting overview

Once you have created an account, all your PollUnits will be displayed in the »My PollUnits« section. Here you can make the necessary settings.

With a click on the context menu icon (three dots) the menu appears.

You can also open the context menu directly from your PollUnit (admin link). Depending on your permissions, other functions may also appear here.

Embed online voting

You can only publish your own polls and votings on your homepage. If you want to publish someone else's PollUnit, they have to make the necessary settings. Furthermore, only polls of premium users can be embedded on your own website.

Click on »Embedding«.

Securely embedding of online voting

Here you have to enter the host of your website. This allows your website to access your PollUnit. Your host could look like this: domain.com or subdomain.domain.com.

This is necessary so that no other websites can embed your polls without permission. You can activate your surveys for any number of websites or hosts.

In the section »Code« you will get a small code snippet. This must be included on your website. You can adjust the height and width of the iFrame to suit your needs.

<iframe width="100%" height="700"
        frameborder="0" allowfullscreen
        src="https://pollunit.com/polls/MEMBERLINK?embed=1">
</iframe>

If you replace the participant link with the admin link, you can also integrate the admin view of your PollUnits into your website. You should then secure your website accordingly!

With another snippet, you can integrate a script that ensures that the embedded iFrame automatically gets the optimal height on your website. This eliminates the need to scroll through the survey. The script can be inserted directly after the iFrame.

<script src="https://pollunit.com/embed/iframeResizer.min.js"
        type="text/javascript">
</script>
<script>iFrameResize();</script>

If you go to the page where you included the poll, your poll will appear directly on this page.

The embedded poll adapts responsively to your website - even to the resolutions of mobile phones.

Now your participants can rate, add and comment options directly on your own website. Your participants do not need an account.

Advanced embedding options

By appending »embed_options« to your PollUnit URL you can make additional settings. These settings are only taken into account in your voting on your own website - the Standalone PollUnit remains unaffected.

kill_background

With &embed_options[kill_background]=1 you can hide the background of your PollUnit. The poll will then be transparently integrated into your website; the color or background image/pattern of your website remains visible. Also allowtransparency="true" should be set on the iframe.

<iframe frameborder="0" allowfullscreen allowtransparency="0"
        src="https://pollunit.com/polls/MEMBERLINK?embed=1&embed_options[kill_background]=1">
</iframe>

kill_padding

With &embed_options[kill_padding]=1 you can remove the distances around your PollUnit to save space in non-page filling layouts.

?embed=1&embed_options[kill_padding]=1

kill_title

With &embed_options[kill_title]=1 you can remove the title of your PollUnit. You can create your own title or headline within your website.

?embed=1&embed_options[kill_title]=1

disable_remote_overlay

With &embed_options[disable_remote_overlay]=1 you can enable the stand alone participation overlay. The overlay will then no longer be placed in the center over your content. This is especially useful if you use the »iFrameResize()« script with high content.

?embed=1&embed_options[disable_remote_overlay]=1

Polls for your CMS (Content Management System)

No matter if you want to integrate your poll in Wordpress, realize a voting in Joomla or create a picture voting in Drupal - with PollUnit this is done in seconds. Of course you can also integrate your PollUnits in other web technologies.

Frequently Asked Questions

What can I do if PollUnit is not shown on my website?

If the embedded variant of PollUnit on your website only delivers a grey page or shows a »Refused to display« error, ...

I cannot scroll in the embedded PollUnit. What should I do?

If you use our iFrame Resizer script to embed PollUnit, check if there is a Javascript error on your website. Errors ...

How can I integrate PollUnit full-screen or in a custom size?

PollUnit is integrated as iFrame. You can freely adjust the size of the iFrame with CSS. You can add a class or ID to...

Do my participants need an account to vote on my website?

No, you can configure your PollUnit that participants without an account can vote, upload pictures and create new opt...

Is there an example of an embedded PollUnit?

Yes, we have prepared a simple example based on a photo competition. You can get to the example by clicking the follo...

How can I integrate PollUnit into WIX?

You can embed PollUnit using an iFrame. Basically, you proceed exactly as described in our tutorial about embedding ...

Which browsers support embedded PollUnits?

Embedded pages should work in all major browsers. It is important that the embedding page has an SSL certificate o...

Further tutorials

Create your first poll

Advanced poll features

Advanced survey branching logic

Distribute tasks online

Cast votes and rate options

Find a date

Vote on images

Create your own theme

Polls with your own logo

Evaluate your PollUnit

Dot Voting

Range Voting

Live Voting

Reach a consensus

Manage orga­nizations

Prevent multiple participation

Donations and participation fees

Are you ready?

Create PollUnit Register

Tools

  • Voting
  • Surveys
  • Free tables
  • Collect ideas and feedback
  • Photo contests
  • Landing page
  • PollUnit Lab

Support

  • Get started
  • PollUnit Help
  • Tutorials
  • Examples
  • Support Forum
  • support@pollunit.com

Languages

  • German
  • English
  • Français
  • Spanish

Tutorials

  • Create your first poll
  • Advanced poll features
  • Advanced survey branching logic
  • Distribute tasks online
  • Cast votes and rate options
  • Find a date
  • Vote on images
  • Create your own theme
  • Polls with your own logo
  • Evaluate your PollUnit
  • Dot Voting
  • Range Voting
  • Polls on your own website
  • Live Voting
  • Reach a consensus
  • Manage orga­nizations
  • Prevent multiple participation
  • Donations and participation fees

Legal

  • Privacy policy
  • Terms of use
  • Imprint

PollUnit

  • PollUnit Blog
  • About PollUnit
  • Press kit
  • © PollUnit
  • Register
  • Login
  • Pricing
  • Support
    • Support
    • Tutorials
    • Blog
    • Guide
    • Support Forum
  • Create PollUnit