Skip to content

Commit cb41d5b

Browse files
committed
add google tag and ab testing components
1 parent 690a582 commit cb41d5b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/features/common/components/shell/shell.component.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
7171
}, [handleConsentChange]);
7272

7373
useEffect(() => {
74-
console.log("Shell component mounted!");
7574
/**
7675
* At some point, the original jwt.io website used to store tokens and keys in LocalStorage
7776
* as a feature for people to see the last JWT they used.
@@ -109,7 +108,7 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
109108
/>
110109
<AdobeAnalyticsScript />
111110
{children}
112-
{/* {consentLevel &&
111+
{consentLevel &&
113112
consentLevel.includes(COOKIE_LEVELS.NECESSARY.toString()) &&
114113
process.env.NEXT_PUBLIC_IS_PROD &&
115114
GTM_ID && (
@@ -118,7 +117,6 @@ export const ShellComponent: React.FC<ShellComponentProps> = ({
118117
<AbTestingScriptComponent />
119118
</>
120119
)}
121-
*/}
122120
<ThemeDetectorComponent />
123121
</body>
124122
);

0 commit comments

Comments
 (0)