DEV Community

Adarsh
Adarsh

Posted on

How to add external Javascript in gatsby ?

Hello everyone,

I want to know how to add external javascript file to gatsby, where should i put
these tag in which file ? And also how to import the file properly to the DOM.

Thanks

Top comments (1)

Collapse
 
dance2die profile image
Sung M. Kim

Haven't done it but you can check out Customizing html.js.

You can probably add external scripts in that file.