Embed Widget Guide
Add live OrgTrust team profiles and management charts to any website
Quick Start
Add this script tag to any page:
<script src="https://publicopinion.org.ng/embed.js" data-company="your-company-slug" async></script>
Replace your-company-slug with your company's URL slug (found on your company settings page).
Design Options
Choose how the widget renders using the data-design attribute:
| Value | Appearance | Example |
|---|---|---|
row | Compact horizontal row of profiles (default) | data-design="row" |
grid | Grid layout with cards | data-design="grid" |
chart | Interactive management organization chart | data-design="chart" |
Alternative: Div Element
You can also use a div element with the data-company-slug attribute:
<div data-company-slug="your-company-slug" data-design="chart"></div>
<script src="https://publicopinion.org.ng/embed.js" async></script>
Team Widget Endpoints
| Endpoint | Description |
|---|---|
/embed/team/{slug} | Team member row |
/embed/card/{id} | Individual card modal |
/embed/org-chart/{slug} | Interactive org chart |
/embed/signature/{slug} | Email signature generator |
Email Signature
Generate a professional email signature with live OrgTrust data:
https://publicopinion.org.ng/embed/signature/your-company-slug
Visit this URL and copy the HTML output into your email client's signature settings.
Requirements
- Company must have team page enabled in settings
- Management positions must have current assignments to appear
- Embedded content respects your privacy settings (public-only)