Skip to content

Commit 6be080f

Browse files
authored
feat: remove hotjar (#717)
1 parent 8f0c78e commit 6be080f

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/App.jsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import React from 'react';
22
import { Helmet } from 'react-helmet';
33

44
import { useIntl } from '@edx/frontend-platform/i18n';
5-
import { logError } from '@edx/frontend-platform/logging';
6-
import { initializeHotjar } from '@edx/frontend-enterprise-hotjar';
75

86
import { ErrorPage } from '@edx/frontend-platform/react';
97
import { FooterSlot } from '@edx/frontend-component-footer';
@@ -27,20 +25,6 @@ export const App = () => {
2725
const hasNetworkFailure = !masqueradeUser && isError;
2826
const supportEmail = data?.platformSettings?.supportEmail || undefined;
2927

30-
/* istanbul ignore next */
31-
React.useEffect(() => {
32-
if (getConfig().HOTJAR_APP_ID) {
33-
try {
34-
initializeHotjar({
35-
hotjarId: getConfig().HOTJAR_APP_ID,
36-
hotjarVersion: getConfig().HOTJAR_VERSION,
37-
hotjarDebug: !!getConfig().HOTJAR_DEBUG,
38-
});
39-
} catch (error) {
40-
logError(error);
41-
}
42-
}
43-
}, []);
4428
return (
4529
<>
4630
<Helmet>

0 commit comments

Comments
 (0)