The embed code
Copy this into any page or post (HTML block in WordPress, custom HTML in most builders):
<!-- Sleep Regression Calculator — free widget by SleepRegressionAges.com -->
<iframe src="https://sleepregressionages.com/widget/frame.html" id="sra-widget"
style="width:100%;border:0;border-radius:12px;min-height:420px" title="Sleep Regression Calculator"></iframe>
<script>window.addEventListener("message",function(e){if(e.data&&e.data.sraWidgetHeight){document.getElementById("sra-widget").style.height=e.data.sraWidgetHeight+"px";}});</script>
<p style="font-size:13px">Free tool by <a href="https://sleepregressionages.com/">Sleep Regression Ages</a> — every baby sleep regression, age by age.</p>House rules (short version)
- Free for any website — blogs, daycares, clinics, newsletters, forums.
- Keep the credit link. The one-line attribution under the widget is the price of admission.
- Don't present it as medical advice. It's an educational tool; the disclaimer inside it must remain visible.
What your readers get
They enter a birthdate (nothing is stored — it runs in the browser) and see their baby's personal timeline across the typical regression windows from 4 months to 3 years, including corrected age for premature babies. The widget resizes itself to fit its results.
Frequently asked questions
Is the widget really free?
Yes — free for any website, with the attribution link kept in place. No signup, no API key, no tracking.
Does the widget collect my readers' data?
No. The calculator runs entirely in the visitor's browser; birthdates are never transmitted or stored.
Will it fit my site's layout?
It fills the width of its container and automatically reports its height to your page, so it grows when results appear. It works on mobile out of the box.
Can I customize the colors?
Not yet — the current version ships in our night-sky theme, which sits comfortably on light and dark pages alike.
- American Academy of Pediatrics — HealthyChildren.org: baby sleep
- NHS — Helping your baby to sleep
- Cleveland Clinic — Sleep regressions
Full editorial approach: sources & methodology.