Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide explicit setter functions for Data Dog / Dynatrace #181

Open
kyle-ssg opened this issue Jul 6, 2023 · 1 comment
Open

Provide explicit setter functions for Data Dog / Dynatrace #181

kyle-ssg opened this issue Jul 6, 2023 · 1 comment
Assignees

Comments

@kyle-ssg
Copy link
Member

kyle-ssg commented Jul 6, 2023

In an SSR based application we cannot initialise and track RUM events on the server, this means that when the client hydrates we are not calling the corresponding dtrum and datadogrum functions, see https://github.com/Flagsmith/flagsmith-js-client/blob/main/flagsmith-core.ts#L171

We should separate the above out into functions setDtrum and setDatadogRum so they can be called when mounting the frontend in frameworks such as Next.js

@novakzaballa
Copy link
Contributor

@kyle-ssg are there any specifics and details you can add as well as acceptance criteria, so I can address this request?
For example: Is there any existing DataDog example integration that I could use to test the integration with a SSR NextJS app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants