You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using v2 of the snippet in my NextJS (latest version) app. I don't want to load it instantly so I am importing it as I need it. But, I notice two fs.js files are loaded. The initial iniator is my code init()... BUT, the second initiator is the first "fs.js". It's calling itself to load. Also
Here is my code calling the v2 version:
// Dynamically import FullStory
import('@fullstory/browser')
.then(({ init, FullStory }) => {
init({ orgId: '*********' });
})
.catch((err) => {
console.error('Error loading FullStory:', err);
});
That loads the first "fs.js" - BUT a few moments later, another "fs.js" script appears in the console from this code, from the first fs.js file:
var u = n.createElement("script");
u.async = !0,
u.crossOrigin = "anonymous",
u.src = "".concat(i, "//").concat(r),
"testdrive" == e && (u.src += "?allowMoo=true"),
n.head.appendChild(u)
The text was updated successfully, but these errors were encountered:
I am using v2 of the snippet in my NextJS (latest version) app. I don't want to load it instantly so I am importing it as I need it. But, I notice two fs.js files are loaded. The initial iniator is my code init()... BUT, the second initiator is the first "fs.js". It's calling itself to load. Also
Here is my code calling the v2 version:
// Dynamically import FullStory
import('@fullstory/browser')
.then(({ init, FullStory }) => {
init({ orgId: '*********' });
})
.catch((err) => {
console.error('Error loading FullStory:', err);
});
That loads the first "fs.js" - BUT a few moments later, another "fs.js" script appears in the console from this code, from the first fs.js file:
The text was updated successfully, but these errors were encountered: