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

Added analytics package for Growthbook feature toggling and Rudderstack #129

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

adrienne-deriv
Copy link
Contributor

Analytics package is added to integrate Growthbook for hydra_be feature toggling, this is to integrate the new BE hydra service to the API explorer

Copy link

vercel bot commented Sep 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-api-docs ✅ Ready (Inspect) Visit Preview Sep 23, 2024 7:04am

} else {
console.warn('rudderstack and growthbook are not initialised due to missing keys');
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-09-23 at 1 52 08 PM

package.json Outdated
@@ -43,9 +44,11 @@
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"clsx": "^1.2.1",
"docusaurus-plugin-sass": "^0.2.2",
"i": "^0.3.7",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

return [featureFlagValue, isGBLoaded];
};

export default useGrowthbookGetFeatureValue;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These hooks are imported from p2p and deriv-app

@prince-deriv prince-deriv merged commit e43396c into deriv-com:master Sep 24, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

5 participants