Add the script to the head in your config, then put the box on any page.
.vitepress/config.mts
export default {
head: [["script", { src: "https://askthissite.com/embed.js", async: "" }]],
};
Any .md page
<div data-everypage-site="YOUR-SITE-ID"></div>
Your site id is on your site's page after you sign up.