NigeriaPolls · Developer Tools
Embed NigeriaPolls on Your Website
Add live election countdowns, poll results, index scores, and state comparisons to any website with a simple iframe snippet—no coding required.
Widget Library
Available Widgets
Choose a widget below, preview how it looks, copy the embed code, and paste it into your CMS or HTML. Each widget supports light and dark themes and responsive sizing.
Election Countdown Widget
A live countdown timer to Nigeria's next major election. Automatically updates as dates are confirmed.
Next Election
00
days remaining
Nigeria 2027 General Elections
Embed Code
<iframe
src="https://nigeriapolls.com/widgets/election-countdown"
width="300"
height="180"
frameborder="0"
title="Nigeria Election Countdown"
></iframe>Customisation Options
- width: 250–400px
- height: 160–220px
- theme: light | dark
Latest Poll Widget
Displays the most recent NigeriaPolls survey headline and top-line result with a link to the full report.
Latest Poll
Poll title
Source: NigeriaPolls
Embed Code
<iframe
src="https://nigeriapolls.com/widgets/latest-poll"
width="300"
height="200"
frameborder="0"
title="NigeriaPolls Latest Poll"
></iframe>Customisation Options
- width: 280–360px
- height: 180–260px
- theme: light | dark
Index Score Widget
A compact card showing the latest value for any NigeriaPolls index—Consumer Confidence, Economic Sentiment, or Political Polarisation.
CCI
----
Index name
Embed Code
<iframe
src="https://nigeriapolls.com/widgets/index-score?index=cci"
width="260"
height="140"
frameborder="0"
title="NigeriaPolls Index Score"
></iframe>Customisation Options
- width: 240–320px
- height: 120–180px
- theme: light | dark
- index: cci | esi | ppi
State Comparison Widget
Compare polling results across Nigerian states side-by-side. Perfect for election coverage and regional analysis.
State Comparison
Embed Code
<iframe
src="https://nigeriapolls.com/widgets/state-comparison?states=lagos,kano,rivers"
width="340"
height="220"
frameborder="0"
title="NigeriaPolls State Comparison"
></iframe>Customisation Options
- width: 300–500px
- height: 200–320px
- theme: light | dark
- states: comma-separated slugs
Licensing
Terms of Use
Free for Non-Commercial Use
Blogs, student projects, academic sites, and non-profit newsrooms can use all widgets at no cost.
Attribution Required
Every widget must display a visible “Powered by NigeriaPolls” link back to nigeriapolls.com. Do not remove or obscure this link.
No Modification
Do not alter widget code to hide branding, inject ads, or distort data presentation. iframe parameters may be adjusted for sizing and theme only.
Help
Need a Custom Widget?
Our integrations team can build bespoke widgets, white-label dashboards, and API integrations for media houses, political campaigns, and research institutions.
Contact [email protected]Questions
Frequently Asked Questions
Are NigeriaPolls widgets free to use?
Yes. All standard widgets are free for non-commercial websites, blogs, and news outlets. You must keep the NigeriaPolls attribution link visible. Commercial or high-traffic usage may require a licence—contact us for details.
Do I need an API key to embed a widget?
No API key is required for our iframe widgets. Simply copy the HTML snippet and paste it into your page. For advanced integrations, we also offer a JSON API with authentication.
Can I customise the colour theme?
Yes. Every widget supports a 'theme' parameter set to 'light' or 'dark'. The light theme uses white cards with slate text; the dark theme uses a navy background with white text to match NigeriaPolls branding.
Will the widgets slow down my website?
Our widgets are served via a global CDN and loaded asynchronously in an iframe. They do not block your page render and typically load in under 200 ms.
Can I request a custom widget?
Absolutely. If you need a bespoke visualisation—such as a live dashboard for a specific election or a branded index tracker—email our integrations team and we will scope the build.
What happens if NigeriaPolls updates the underlying data?
Widgets automatically reflect the latest data. You do not need to update the embed code. Countdown timers adjust when election dates are confirmed, and poll widgets refresh as new surveys are published.
Stay Updated
Get NigeriaPolls in Your Inbox
New indices, election polls, and widget updates—delivered monthly. No spam, unsubscribe anytime.
Explore More
Related Resources
Data Citation Guide
APA, MLA, Chicago, Harvard, and IEEE formats for citing NigeriaPolls in academic work.
MethodologyHow We Conduct Our Polls
Sampling frames, weighting procedures, and quality-control protocols explained.
DataBrowse Latest Polls
Explore the full archive of Nigerian public opinion surveys.
CompanyAbout NigeriaPolls
Our mission to deliver transparent, independent public opinion data for Nigeria.
Elections2027 Election Tracker
Polling, candidate profiles, and voter sentiment ahead of the 2027 general elections.
GuidesAll Research Guides
Interpreting margin of error, weighting data, and more.
