Commit Graph
2 Commits
Author SHA1 Message Date
Evandro Fonseca Junior 54d99fbffd fix(api): update parameter handling in GTM route to support promise resolution
- Changed the parameter type in the GET function to a promise, ensuring proper resolution of the `id` before use.
- Improved error handling by awaiting the parameters, enhancing the robustness of the API route.
2026-01-20 21:13:34 -03:00
Evandro Fonseca Junior c9b057b674 feat(analytics): update Google Analytics integration and improve fetch interception
- Refactored Google Analytics proxy routes in the Next.js configuration to enhance fallback handling.
- Improved fetch interception logic in the RootLayout component for more robust handling of Google Analytics requests, including support for `sendBeacon`.
- Updated the analytics script source to align with new API routes for better tracking accuracy.
2026-01-20 21:10:39 -03:00