diff --git a/gatsby-ssr.js b/gatsby-ssr.js
index b17b8fc19..41ae50b21 100644
--- a/gatsby-ssr.js
+++ b/gatsby-ssr.js
@@ -4,4 +4,36 @@
* See: https://www.gatsbyjs.org/docs/ssr-apis/
*/
-// You can delete this file if you're not using it
+// This is needed to ensure the NR1 SDK can load properly
+const React = require('react');
+
+exports.onPreRenderHTML = ({ getHeadComponents, replaceHeadComponents }) => {
+ replaceHeadComponents([
+ ...getHeadComponents(),
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]);
+};