04
Paste the code to your Wagtail website’s HTML field.
Next, go to your Wagtail website editor and find the HTML field. It is most likely in the form of an HTML/Code widget or module which you can find on the Wagtail’s editor. Add it to your page, and paste the Back to Top Button Embed Code you’ve copied before to the HTML field.
Save and update, and that’s it, you should have Common Ninja’s Back to Top Button widget on your Wagtail website.