Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Ty Hopp

Ty Hopp

Senior Software Engineer, Framework

Scripts and the Head: What Goes Where?

When should scripts be put in the Gatsby Head and when should they be loaded by the Gatsby Script component in your pages or components? Let's dig in!

Ty Hopp
Ty Hopp August 4th, 2022

Gatsby 5, Head API, Script API

Using Gatsby Script Component to Decrease Page Load Times

© 2023 Gatsby, Inc.