Closed cydoval closed 5 months ago
The project now integrates Google Tag Manager to enhance tracking capabilities and monitoring within the application. This update includes adding the GoogleTagManager
component with a specific ID and utilizing it in various components to track feedback and chat interactions effectively.
Files | Summary |
---|---|
src/app/layout.tsx |
Added GoogleTagManager import and included it in the RootLayout component for GTM integration. |
src/components/chat/chatActions.tsx |
Imported gtagEvent and used it within the onFeedback function for tracking. |
src/components/chat/chatInput.tsx |
Imported gtagEvent and called it with specific parameters after user message submission. |
src/lib/gtag.tsx |
Introduced gtag.tsx for handling GTM events related to feedback and chat interactions. |
🐰✨ In the code's garden, under the moon's gleam, A tiny rabbit hops – leaving traces unseen. With a tag here, a script there, so spry, Tracking magic in the night, beneath the digital sky. Oh, how the pages now smartly comply! 🌟 🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit