Make a shortcode with both lines, then use it on any page.
layouts/shortcodes/askthissite.html
<div data-everypage-site="YOUR-SITE-ID"></div>
<script src="https://askthissite.com/embed.js" async></script>
Any content page
{{< askthissite >}}
Your site id is on your site's page after you sign up.