Closed ryanmio closed 9 months ago
Name | Link |
---|---|
Latest commit | edfb681eac7193a6add1946721862caac01b83f8 |
Latest deploy log | https://app.netlify.com/sites/decode-me/deploys/65aa99e0b540bb00084043ea |
Deploy Preview | https://deploy-preview-62--decode-me.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Integration of Google Analytics 4 and Event Logging Enhancements
Changes Made
Remove legacy analytics.js, integrate next-google-analytics: The outdated
analytics.js
file has been removed in favor of thenext-google-analytics
package, which provides a more modern and efficient way to track user interactions and report website traffic.Integrate next-google-analytics in _app.js: The
_app.js
file has been updated to include thenext-google-analytics
component, ensuring that our analytics tracking is robust and leverages the latest GA4 features for better insights and performance.Add event logging for game lifecycle: New event logging has been implemented to capture key moments in the game lifecycle, specifically game start and game end. These events are logged using
next-google-analytics
, providing valuable data on user engagement and game performance.Additional Updates
Update generateLeaderboardName.js: Minor updates and optimizations have been made to the leaderboard name generation logic.
Update README.md: The README file has been updated with the latest project information and setup instructions.
Update TASKS.md: The task management file has been revised to reflect the current project status and upcoming tasks.
Readme notes: Additional notes have been added to the README to assist developers in understanding the project setup and contribution guidelines.
Create _error.js and Update 404.js: Custom error handling has been implemented with the creation of
_error.js
and updates to404.js
, improving the user experience during unexpected issues.Add CustomError component and integrate into error.js: A new
CustomError
component has been created and integrated intoerror.js
to provide more informative error messages to users.Implement ErrorBoundary and wrap _app.js main component: An
ErrorBoundary
has been implemented to gracefully handle any uncaught errors in the application, ensuring the app remains stable and provides feedback to the user.