Skip to main content
Loading the Tally widget script from a React component is a useEffect away. The snippet below mounts the script on first render, then calls Tally.loadEmbeds() once it’s available. If the script is already loaded on the page, it skips the script tag and just loads the embeds.
Prefer a package? The community-maintained react-tally wrapper by Nititech provides the same behavior as a drop-in component.