Poll unit

Some articles are intended for our media partners' developers. They assume knowledge of JavaScript. Please contact us at support@civicscience.com for access to these articles.

Articles

Introduction to the poll unit
CivicScience's poll units (formerly called widgets) provide an entertaining experience for website visitors while allowing for maximum user data collection and, in turn, the most relevant insights once the code is integrated into the media partner...
Poll unit types
Poll units may be used in two different ways. The first is the standard instance. They will look something like this: An example may be seen here . You may read about this type of implementation here . The second type of deployment is a c...
Poll unit integration
The poll unit code snippet consists of a and a tag that will display the poll unit. The poll unit integration will typically be handled by the media partner's content management team with the assistance of the CivicScience Account Managem...
Using poll units with Google Tag Manager
It is possible to utilize Google Tag Manager (GTM) to inject a tag of custom HTML based on a trigger.  First, create a custom HTML tag:  Next, insert the poll unit integration code from the InsightStore or provided by the account manager. ...
Using poll units in WordPress
Many sites use WordPress as their content management system (CMS). It is very simple to integrate poll units on a WordPress site. The first way to integrate the poll unit code is to add it using an HTML block. Copy and paste the integration co...
Poll unit carousel integration
After the user completes the initial questions in the polling session, they can respond to additional polling questions. This is accomplished by sending the visitor to a page containing the CivicScience carousel script. By default, the user is tak...
Integrating more than one poll unit
You can include more than one poll unit on a page by placing multiple copies of the integration code in the HTML code for your page. Make sure that you use different ID attributes for the  element in each placement of the integration code. When ...
Poll unit demonstrations
We have demonstrated multiple configurations of the poll unit here .
Customizing a poll unit
Forward Compatibility We are continually improving our poll units and developing new features and capabilities. We may change the poll unit's HTML structure at any time and without notice. The customization settings described below are desi...
Poll unit administration tool
After the poll unit is installed on your site, you may manage the instance through the poll unit administration tool. To do so, you must be logged in to the InsightStore . The poll unit administration controls are displayed at the lower right co...
Poll unit detection bookmarklet
The bookmarklet below can be used to search a webpage for the presence of the poll unit. Drag and drop the link below into your browser's bookmarks tab or the bookmarks bar.  Note: Please disable any adblockers you use, then reload the page befo...
Respondent menu
You might have noticed the three dots in the upper right corner of the poll unit (see green square). That's a kebab menu. In this case, it opens the respondent menu.  This is where respondents can remove any of their answers from our datab...
Responses shown in the poll unit admin tool
If you are logged in to InsightStore 1, responses for the question currently displayed on your site can be viewed in the poll unit admin tool. Click on the gear in the lower right corner of the poll, then go to the Current Question tab. Response t...
Pinning a news/pop culture question to your poll
Using the poll unit admin tool , you can link to a specific news/pop culture question.  Sign in to the InsightStore. The login page is at https://insightstore.civicscience.com/login . Find the question you want to ask via the InsightS...
AdEngage
CivicScience offers the ability to integrate an ad unit that will be served alongside the poll unit. Various configurations and layouts accommodate a media partner's ad size and location preferences. AdEngage integrations require collaboration bet...