Embed a daily gratitude question on your site

Add a small box to your blog, newsletter page or community site that shows one gratitude question a day. Readers who want to answer it open gratij in a new tab and write there — free, without an account.

What your readers see

This is the live widget. The question changes every day, at midnight in each reader’s own time zone, and is the same question gratij’s own journal gives that day.

Copy the code

Paste this HTML wherever your site accepts an embed or custom HTML block.

Sizing

The widget fills the width it is given, up to 480 pixels, and works from about 260 pixels wide, so it fits a phone screen or a sidebar.

It needs about 260 pixels of height. Keep the height in the code; if a long question is cut off in a very narrow column, raise it to 300.

To make it narrower, change max-width in the style attribute. Keep the title attribute: it is what screen readers announce for the frame.

What happens when someone answers

The widget shows the question and a “Write privately in gratij” link — there is no text box in it, so nothing a reader writes ever passes through your page.

The link opens gratij in a new tab with the same question ready. Without an account, the answer is saved in the reader’s own browser; an account is only needed if they later want reminders or to sync between devices.

The widget sets no cookies, reads no journal, makes no sign-in requests and loads no analytics. There is no publisher account and nothing to register.

If your site does not allow iframes

Some site builders and email newsletters strip iframes. Use an ordinary link instead — it opens today’s question in the free journal:

Try the free version