Skip to main content

Embed Our Calculator Widget

We offer a powerful and user-friendly calculator widget that can be easily integrated into your website. The widget provides your customers with a seamless experience to understand and customize their pension plans through an interactive simulation graph.

Calculator

Integration Guide

You can integrate our calculator widget into your website as an <iframe> using the following URL:

<iframe
src="https://example.com/widgets/calculator"
width="100%"
height="800px"
frameborder="0"
></iframe>

URL Parameters

The widget can be initialized with default values using URL parameters. Here are the supported parameters:

ParameterDefaultOptionsDescription
graphTypepreTaxpostTax, preTaxInitializes the widget with the selected graph type. Users can still switch between graphs.
initialPayment0-Initial payment amount at policy start
monthlyPayment100min = 30Monthly payment amount
riskLevelhighhigh, medium, lowInitial risk level selection (high: 9%, medium: 6%, low: 3%)
currentAge25min = 18, max = 55Customer's current age
startInXYears0-Initializes with start year difference comparison graph if > 0
ageWhenPolicyEnds6767, 75, 85Expected policy end age

Example Usage

Here's an example of embedding the calculator with some predefined parameters:

<iframe
src="https://example.com/widgets/calculator?graphType=postTax&monthlyPayment=150&riskLevel=medium&currentAge=30"
width="100%"
height="800px"
frameborder="0"
></iframe>

Customization

The widget automatically adapts to your website's layout and provides a responsive experience across different screen sizes. The height can be adjusted based on your needs by modifying the height attribute of the iframe.