Let the Auto widget make a quiz for every article
One snippet writes a quiz from each article, in its own language, and rewrites it when the story changes.
The Auto widget puts a quiz on every article from one piece of code in your article template. The first time a page is viewed, Lexy reads it and writes questions about it, in the page's own language. There is nothing to make by hand, and any page's questions are yours to edit when a story calls for it.
Set it up
- In the header, click Create and choose Widget, then Auto widget.
- Choose a Fallback language, used only when a page's language can't be detected.
- Choose Questions per game. This is how many questions one reader plays on a page. It starts at 5.
- Enter your site under Allowed Domain, such as
example.com. - Set the color, or leave Auto on. See Match the widget to your site.
- Click Save widget and paste the code into your article template. See Add Lexy to your site.
The widget shows as Pending on My Widgets until it first loads on your allowed domain. The first article that loads it switches it on, and the widget takes your domain as its name.
How it makes a quiz
- From the page itself. It reads the article the way the reader's browser shows it, so there is no feed to set up. On a page with video or audio, questions come from those too. See Unlock questions as viewers watch and Unlock questions as listeners play.
- In the story's language. English, Spanish, Arabic or Turkish, read from each story. A page keeps the language its first questions were written in.
- Once for each page. Later readers get the same questions. Links with tracking codes on the end share the article's quiz.
- About facts that hold. Running figures such as casualty counts, scores and prices are treated as moving, and the byline and the publish date are left alone.
On the Embedded card and in Overlay, questions unlock as the reader goes. See How the gated card unlocks questions and Float a quiz over the page or the video.
Questions per game
Lexy writes more questions for a page than one game needs, from three to nine for the story depending on its length, with a set of its own for a video or a recording. Questions per game sets how many of them one reader plays, 3, 5, 7 or 9. It is the only total a reader sees.
To change it, open the widget's menu on My Widgets, choose Edit, pick a number under Questions per game and click Save changes.
See the pages it runs on
- On My Widgets, open the widget's menu, the arrow next to Preview, and choose View Pages.

The Auto widget's menu on My Widgets, with View Pages and Refresh Pages. - The Widget Pages drawer lists every page the widget has run on, most recently seen first, with page and play totals at the top. To find one, type part of its address or headline and click Filter.
Each page shows its headline, link, plays, language and when it was Last seen, followed by Refresh questions and Customize. A page with a game of its own has View game.

On the first page of the list, two more headings appear when they have something to report. Videos left out of the game names each video Lexy could not ask about and says why. Videos waiting to be read lists videos that readers have played and Lexy has yet to read. See Unlock questions as viewers watch.
Ask for new questions
- One page. In View Pages, click Refresh questions on that page.
- Every page. Open the widget's menu, choose Refresh Pages and confirm.
Each page then writes new questions from its current content the next time someone opens it. A page you have customized keeps your questions through a refresh.
| Label in View Pages | What it means |
|---|---|
| Refresh queued | You asked for new questions. They are written on the page's next visit. |
| Content changed | The article has changed since its questions were written. |
| Customized | You edit this page's questions yourself. See Edit the questions on one page. |
A page written in a language other than Lexy's four has a note naming the language, and a Check again link that has the story read once more. The card stays off that page.
Games in My Games
A page's own game goes in My Games, under one row for the widget marked Auto. Click it to see its games. The Embedded card and Overlay play their questions straight from the page, so most of their pages show in View Pages without a game. A page gets a game when you click Customize on it. Pages in FAQ or QR mode always get a game, of three questions.

When an article changes
Each time a page loads, Lexy compares it with the version its questions came from. It checks the last-edited date your page gives, the figures in the text and the article's length.
- A small edit, such as a fixed typo, keeps the questions. The page may show Content changed.
- A real change, such as a new edit date, a corrected figure or a large rewrite, gets new questions from the current version.
- A page is rebuilt at most once an hour. Refresh questions goes ahead without that wait.
- A customized page keeps your questions. It shows Content changed, and you decide what to edit.
When a page with its own game is rebuilt, a new game takes over the page and the old one keeps its plays. The title is written once, with the page's first game, and every rebuild keeps it. To change it, open the game's ⋮ menu on My Games, choose Edit, and type a new Game Title. Your title stays through later rebuilds.
Common questions
Can I edit the questions it writes?
Yes. In View Pages, click Customize on the page. Its questions open as a game in the game editor, where you can reword, reorder, add, switch off or delete them, and the card on the page plays your version. See Edit the questions on one page.
How do I take it off my pages for a while?
Open its menu on My Widgets and choose Unpublish. Your pages show a short "not available" message until you choose Publish.
Thanks for letting us know.
Thanks. Write to support@lexy.fm with what you were looking for, and we will answer and improve this page.