index.html file. Instead, it uses an
html.js file, which is hidden by default.
If you need to add an external script (or 3rd party script) in your Gatsby website, without using any plugin, the best approach would be to use Gatsby SSR API.
However, some APIs might not be available in
gatsby-ssr.js. In that case, you will need to customize your site's
First, you need to copy the default one into your source tree by running:
html.js will look like this:
Now, just before the closing
If you want to learn more about Gatsby and its ecosystem, head over to the official website.