Embed the ROI Calculator & Benchmark Badge
Add a live core return calculator or recovery-rate badge to any page — website, newsletter, forum post, or nonprofit resource portal. Copy one HTML snippet. No API key, no cookies, no tracking pixels.
Privacy-first by design
The calculator runs entirely in a sandboxed iframe. Zero shop data is transmitted to CoreBack servers. No cookies are set. No third-party analytics inside the iframe. The only external call is loading the widget page itself.
Build your embed snippet with UTM tracking
Configure widget type, theme, and UTM parameters. Your embed code generates live below so you can copy the exact snippet for each channel — and track which ones drive the most signups in the attribution dashboard.
ROI Calculator Widget
A fully interactive calculator — sliders for monthly invoices, cores percentage, and average core value. Results update in real time. Dimensions: full-width × 580px recommended.
◎ Live preview
<iframe
src="https://hourlyroi.com/embed/roi-calculator"
width="100%"
height="580"
frameborder="0"
scrolling="auto"
title="CoreBack Core Return ROI Calculator"
style="border:none; border-radius:8px; overflow:hidden;"
></iframe><!-- CoreBack ROI Calculator Widget -->
<script
src="https://hourlyroi.com/embed/widget.js"
data-type="calculator"
data-theme="dark"
></script>Benchmark Badge
A compact badge showing the CoreBack recovery-rate benchmark vs. industry average. Available in dark and light themes. Dimensions: 320 × 74px.
◎ Dark theme
◎ Light theme
<iframe
src="https://hourlyroi.com/embed/benchmark-badge"
width="320"
height="74"
frameborder="0"
scrolling="no"
title="CoreBack Recovery Rate Benchmark"
style="border:none;"
></iframe><!-- CoreBack Benchmark Badge -->
<script
src="https://hourlyroi.com/embed/widget.js"
data-type="badge"
data-theme="dark"
></script><!-- Light theme badge -->
<script
src="https://hourlyroi.com/embed/widget.js"
data-type="badge"
data-theme="light"
></script>REST API (headless)
Use the JSON API to build your own UI or pull ROI estimates into dashboards, spreadsheets, or reports. No authentication required. CORS open for all origins.
| Endpoint | Description | Auth |
|---|---|---|
| GET /api/embed/roi | ROI calculation — invoices, cores_pct, avg_core, current_pct | None |
| GET /api/embed/badge | Benchmark badge data — recovery rate vs industry avg | None |
curl "https://hourlyroi.com/api/embed/roi?invoices=80&cores_pct=40&avg_core=55"
# Returns:
{
"inputs": { "invoices": 80, "coresPct": 40, "avgCore": 55, "currentPct": 62 },
"result": {
"gainMonthly": 638,
"gainAnnual": 7656,
"hoursSavedMonthly": 8,
"coresMonthly": 32,
"targetRecoveryPct": 91
},
"formatted": {
"gainMonthly": "$638",
"gainAnnual": "$7,656",
"hoursMonthly": "8h"
}
}Widget attributes
| Attribute | Values | Default | Notes |
|---|---|---|---|
| data-type | "calculator" | "badge" | "calculator" | Widget type to render |
| data-theme | "dark" | "light" | "dark" | Color theme |
| data-container | DOM element id | (after script) | Target element for injection |
| data-utm-source | string | "embed" | UTM source on CTA links |