Q: As a host, can I change the number of links that display?
A: No. ODI has done research and determined that 3 links are ideal for engagement
Q: What language/frameworks does the widget use?
A: The widget is plain JavaScript, delivered as an ES module. There are no frameworks like React, Angular, or Vue. We are using open standard web component tech like Custom Elements, Shadow DOM, and HTML Templates.
Q: What data does the widget need in order to make its recommendations?
A: At the moment, the widget does not need any additional data to make its recommendations.
In the future, the widget may accept additional parameters for more fine-grained targeting, such as the constituent's income or veteran status. When we're ready for those details, the plan is to submit them to the widget via attributes on the custom element. To provide an entirely speculative example, we might do something like the following.
<!-- Just ideas, not implemented yet. -->
We're open to suggestions. This is still on the drawing board.
Q: Will the widget be smart enough not to refer people to the host site?
Yes. We've already implemented logic to ensure we don't link back to your site from the widget.
We also have the beginnings of a "rules engine" on our side that will allow us to serve more specific links to your site. For example, if you wanted to limit the links in the widget to only a subset of our partners (that are more relevant to people using GetCalFresh), we could do that.