fullstory-browser-sdk icon indicating copy to clipboard operation
fullstory-browser-sdk copied to clipboard

Init failing with package ("^1.7.0") but succeeds with html snippet

Open acomito opened this issue 1 year ago • 1 comments

I have a brand new fullstory account/orgId and I setup the npm package in a react app, but I can't get any sessions.

I log the ready callback and the sessionUrl is an empty string.

I also see

Screenshot 2023-03-05 at 6 56 40 PM

Screenshot 2023-03-05 at 6 56 05 PM

But if a plug the html snippet into

, same orgId etc-- it works.

My Fullstory.init is simple: orgId, debug: true

acomito avatar Mar 05 '23 23:03 acomito

Hi @acomito thanks for using our browser SDK!

I looked into this and was able to reproduce by adding a ' character to the end of my orgId parameter like this: FullStory.init({ orgId: "o-12345-na1'", debug: true }, (url) => {});

Which renders console output like this:

image

Is it possible that you have a typo?

patrick-fs avatar Mar 06 '23 14:03 patrick-fs