Add a Contraction Timer to Your Website
Updated August 13, 2026
Build Your Contraction Timer
Add this contraction timer to your website without building, hosting, or maintaining it yourself. The same embed works on WordPress, Wix, Squarespace, Webflow, and any HTML website.
This free tool is provided by Pregnancy Safe, which helps expecting parents track their pregnancy and check the safety of thousands of products and categories.
Choose an accent color, preview the calculator, and copy the embed code.
Customize the widget
Live preview
Powered by
Pregnancy Safe
Copy the embed code
Paste this complete snippet into your website's HTML or embed block.
Contraction Timer for WordPress
- Edit the page where you want the calculator.
- Add a Custom HTML block by searching for HTML or typing
/html. - Paste the complete embed code, preview the page, and publish.
WordPress may remove iframes for users without permission to publish unfiltered HTML. If the calculator disappears after saving, ask a site administrator to add the block. Elementor or Divi users can paste the same snippet into the builder's HTML/code module. See the official Custom HTML block guide.
Contraction Timer for Wix
- In the Wix Editor, choose Add Elements → Embed Code → Embed HTML.
- Select Enter Code, paste the complete snippet, and click Apply.
- Stretch the Wix embed element to the full column width and at least 920px high.
Wix only displays HTTPS embeds and does not automatically make its embed container responsive. See Wix's official widget embed guide.
Contraction Timer for Squarespace
- Edit the page and add a Code block where the calculator should appear.
- Choose HTML, paste the complete snippet, and save the page.
- Check the published page on mobile and desktop.
Squarespace supports iframe code in advanced Code blocks on eligible paid plans. If it does not appear while you are logged in, check the public page in a private window. See Squarespace's official custom-code guide.
Contraction Timer for Webflow
- Add a Code Embed element to the page.
- Paste the complete snippet, then save and close the code editor.
- Publish the site and verify the calculator at narrow and wide widths.
A suitable Workspace or active Site plan is required for Code Embed. See Webflow's official Code Embed guide.
Contraction Timer HTML and iframe code
Paste the complete snippet into your page's HTML where the calculator should appear. Keep the iframe at width="100%" and the height generated by the builder. If your site uses a Content Security Policy, allow frames from https://pregnancysafeapp.com.
How the Contraction Timer Works
A visitor taps once at the beginning of a contraction and again when it ends. Duration is measured from start to stop. Frequency is measured from the start of one contraction to the start of the next. The display averages the three most recent completed contractions; that three-contraction summary is a product choice for readability, not a clinical guideline.
The timer deliberately does not announce that labor has started, prescribe a generic 5-1-1 rule, or tell someone when to go to the hospital. ACOG notes that labor contractions become regular and closer together, but individual instructions depend on gestational age, pregnancy history, symptoms, distance from care, and the care team's plan. Before 37 weeks, regular or frequent tightening and other preterm-labor symptoms require medical attention right away.
The safety copy separately highlights water breaking, bleeding more than spotting, persistent severe belly pain, and fetal movement that slows or stops. Timing data exists only in the current open browser session and is never sent to Pregnancy Safe.
Clinical and technical references:
Common Installation Questions
Do I need a WordPress plugin?
No. Paste the generated iframe snippet into a Custom HTML block. The same hosted widget works without installing or maintaining a plugin.
Why is the bottom of the widget cut off?
The complete generated snippet automatically resizes the calculator as it switches between the form and results. If a website builder removes the resize script, set its embed container to at least 920px high so the result and medical notes remain visible at narrow widths.
Does Pregnancy Safe receive the information a visitor enters?
No. The tool runs inside the visitor's browser. Pregnancy Safe does not send, store, log, or analyze the information entered into this widget.
Does the timer tell visitors when to go to the hospital?
No. It records duration and start-to-start frequency only. Visitors should follow their own care team's instructions and seek care for warning signs.
Does it use the 5-1-1 rule?
No. A generic threshold is not appropriate for every pregnancy, so the widget records timing without making a labor decision.