Copy-and-paste snippet
Paste this where you want the calculator to appear. The optional script resizes the iframe to fit its content.
<iframe id="yep-pp-embed" title="Flood Insurance Purchasing Power Calculator" src="https://www.yepinsurance.com/embed/purchasing-power/?theme=light" style="width:100%;max-width:720px;border:0;overflow:hidden;" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> <script src="https://www.yepinsurance.com/embed/embed.js" async></script>
Preview
Optional defaults
Add query parameters to the iframe src to prefill the calculator:
theme=lightortheme=dark(default is light)amtorpp_amt— monthly amount in dollars (explore mode)mode=compare— open “Compare actual quotes”curandalt— current and alternative annual premiums (compare mode)rate— illustrative interest rate, 3 to 10, snapped to a quarter pointterm— 15, 20, or 30years— comparison period: 1, 5, 10, or 20
Example, the Cape Coral illustration: ?theme=light&mode=compare&cur=11446.48&alt=3397
Auto-height
The calculator posts its height to the parent page:
{ "source": "yep-insurance-pp", "type": "height", "height": 720 }
The loader script listens for that message and sets the iframe height. If you prefer not to load the script, give the iframe a generous min-height (about 900px on a narrow phone, 720px on desktop).
Notes for partners
The widget does not set cookies and does not load third-party scripts. Results are illustrative only and are not a quote, a loan approval, or guaranteed savings. For the full calculator on our site, see the purchasing power section. Questions: glenn@yepinsurance.com or (800) 761-7994.