smartlook / smartlook-client

Official Smartlook client for easy frontend integration.
https://smartlook.com
MIT License
28 stars 9 forks source link

FR: add basic support for logging from Node #8

Closed dandv closed 1 year ago

dandv commented 4 years ago

Just being able to log custom errors from server-side code, would mostly eliminate the need for using a separate error tracking service for the backend.

No need for recording, obviously. Just .error and .identify.

Pajk commented 4 years ago

Hello @dandv, we've already discussed this option and even came with an experimental Node.js SDK - https://github.com/smartlook/smartlook-nodejs-sdk.

We haven't tested it for a while and it seems it's currently not working. I'll try to review it in following weeks and I'll add an option to send error events too.

There's one catch though - you'll have to propagate current session and visitor ids to your backend - https://smartlook.github.io/docs/web/recording-api/. Is that something you'll be able to do?

dandv commented 4 years ago

Thanks, that's good news! Not a problem to propagate the visitor id, it's in the JWT already. Can propagate the session id too.

dandv commented 4 years ago

@amertak: will this not be implemented after all, or is there another ticket to monitor?

amertak commented 4 years ago

Sorry, closed because I thought it was solved.

Asked our product manager and it should be ready at the end of Q4 2020/beginning of Q1 2021. Will let you know.

amertak commented 1 year ago

This feature was postponed and not in the near roadmap. Closing this.