Help

Putting a Sumish tool on your own site

How to put a Sumish calculator or lookup tool on your own site: pick a style, paste the code and change it later. No account, and it costs nothing.

5 min readPublished , updated , checked

Every calculator and every lookup tool on Sumish can go on your own site. Your visitors then use it right on your page, and we make sure the tool is right and stays up to date. A tool on another site like this is called a widget. You don't need an account.

What a widget is

A widget is the tool itself, in a frame on your page, without our menu, our guides or the rest of the site. Your visitors fill it in and see the result straight away, without leaving your site.

  • The tool stays ours. When we update it, for example with the rates of a new year, your widget gets the update too.
  • The line A tool by Sumish always appears under the tool, with a link to the tool on our site.
  • A widget costs nothing.
  • A widget has the language of the page you make it on.

How to put a tool on your site

  1. Open the tool on Sumish and click Add to your site. On a calculator the button is next to the result; on a lookup tool it is under the form. It takes you to Add this tool to your site at the bottom of the page. Click Make a widget there.
  2. Pick a style: light, dark or automatic, your own colours, round or square corners, and whether the title shows. The preview next to it shows the result right away.
  3. Enter the site the widget is for, for example example.com.
  4. Click Copy the code. The code is now on your clipboard.
  5. Paste the code into your page, where the tool should go.
  6. Keep the manage link that appears under the code. You use it to change the widget later.

Where to paste the code

The code is plain HTML of two lines: an iframe and a short script. In WordPress, use the Custom HTML block. Other website builders usually have a block called HTML, Embed or Embed code. Paste the whole code there, both lines.

Some website builders don't allow iframes or scripts, or remove them when you save. If nothing shows up, look for embed HTML in the help pages of your website builder.

The height adjusts itself

A tool changes while you use it. A result appears, or something opens up. The frame on your page grows and shrinks with it. The second line of the code, the script, takes care of that.

If your website builder removes the script, the frame stays 420 pixels high, and anything that doesn't fit scrolls inside the frame. You can change the height yourself: change the number after height in the code.

Only on your site

A widget works only on the site you enter, and on its subdomains. If you enter example.com, it also works on www.example.com and blog.example.com. On any other site it won't load. That way nobody else can use your widget.

On that one site, the widget can go on as many pages as you like. For testing, it also works on your own computer, on localhost. If your site moves to a new name, change the site through your manage link.

On a lookup tool, the button Use my location works in the widget too. What we do with that location is explained in Sharing your location.

Changing or deleting your widget

On the page behind your manage link you change the style and the site, and you can delete the widget there too. A new style reaches your site within five minutes. The code on your site stays the same.

  • Keep the manage link safe. It is the only key to your widget. We don't keep the link, so we can't send it to you again.
  • Your browser remembers the link too. If you click Make a widget on that tool again in the same browser, your widget is listed under Already made in this browser.
  • Lost the link? Make a new widget and replace the code on your site.

If you delete the widget, remove the code from your site too. Otherwise a short message says the tool is no longer available there.

Privacy

  • We don't ask for a name or an email address.
  • For a widget we keep the tool and its language, the site you enter, the style, when it was made and a code derived from your manage link. We don't keep the link itself.
  • Nothing about your visitors goes to your site. We count views and calculations the same way as on our own pages: totals only, without cookies. With them we note the name of the site the widget is on. We keep that name for 90 days.
  • Visitors with Global Privacy Control or Do Not Track are not counted.
  • If a widget has not been viewed anywhere after 30 days, we remove it.

There is more on the privacy page.

New, so still in beta

Widgets are new on Sumish. Their look may still change a little in the coming months. Your code and your manage link keep working. Is something not working as you expect, or missing? Let us know through the contact form.

Questions

Can the line under the tool go?

No, it is part of the widget. It shows where the result comes from, and through that link your visitors find the explanation of the tool.

Can I change the tool itself?

Only the style. The fields and how the tool calculates are the same as on our site.

How many widgets can I make?

As many as you need, but no more than five an hour. On a very busy day making one may not work; then try again the next day. To put the same tool on a second site, make a second widget.

What happens if a tool is removed?

If we take a tool off the site, your widget shows a short message with a link to Sumish. Then remove the code from your page.

More guides

Find a tool

    More on the privacy page