refactor(analytics): simplify analytics script configuration by removing unnecessary attributes

- Removed redundant data attributes from the analytics script in the layout component to streamline the code and enhance clarity.
- Maintained essential tracking functionality while improving the overall structure of the analytics integration.
This commit is contained in:
Evandro Fonseca Junior committed 2026-01-20 21:46:16 -03:00
1 parent 4b414c048a
commit 3e41db620a
1 file changed
-5
-5
View File
@@ -184,12 +184,7 @@ export default function RootLayout({ children }: Readonly<RootLayoutProps>) {
src="/analytics/api/script.js"
data-site-id="1"
data-debounce="100"
data-replay-mask-text-selectors='["#user-name", "#user-email", "#user-phone", "input[type=email]", "input[type=tel]", "textarea"]'
data-replay-block-class="rr-block"
data-replay-ignore-class="rr-ignore"
strategy="afterInteractive"
data-session-replay="true"
data-track-errors="true"
/>
<GoogleAnalytics />
</body>