-
-
Notifications
You must be signed in to change notification settings - Fork 598
feat: allow anonymous usage data collection #877
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
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
CI Failure Feedback 🧐
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR: where Configuration options
See more information about the |
User description
Introduced
allowAnonymousUsageDataCollectionto.cncrcwith a default setting offalse.{ "state": { "allowAnonymousUsageDataCollection": false } }Related issue: #518
PR Type
enhancement, configuration changes
Description
react-gatoreact-ga4for Google Analytics integration, updating tracking logic and dependencies.Changes walkthrough 📝
2 files
build.config.js
Update analytics tracking ID in configurationbuild.config.js
.cncrc
Add anonymous usage data collection settingexamples/.cncrc
allowAnonymousUsageDataCollectionsetting with defaultfalse.2 files
settings.js
Minor formatting change in settings configurationsrc/app/config/settings.js
index.styl
Update styling for settings containerssrc/app/containers/Settings/About/index.styl
6 files
analytics.js
Migrate to Google Analytics 4 for page trackingsrc/app/lib/analytics.js
react-gatoreact-ga4for Google Analytics.GoogleAnalytics4.About.jsx
Integrate CheckForUpdatesContainer in About sectionsrc/app/containers/Settings/About/About.jsx
CheckForUpdatesContainercomponent to the About section.CheckForUpdatesContainer.jsx
Add CheckForUpdatesContainer componentsrc/app/containers/Settings/About/CheckForUpdatesContainer.jsx
General.jsx
Enhance General settings with data collection optionsrc/app/containers/Settings/General/General.jsx
Settings.jsx
Update settings management for anonymous data collectionsrc/app/containers/Settings/Settings.jsx
checkForUpdateswithallowAnonymousUsageDataCollection.index.jsx
Initialize Google Analytics 4 conditionallysrc/app/index.jsx
1 files
package.json
Update dependencies to use react-ga4package.json
react-gawithreact-ga4in dependencies.