Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
feat: remvoed hotjar and gtm from flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Fasih Ali Naqvi authored and Muhammad Fasih Ali Naqvi committed Feb 28, 2024
1 parent 7c6cf2b commit 887f02a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const onRenderBody = ({ setHeadComponents }) => {
/>,

// GTM setup
isFeatureEnabled("GTM") &&
(gtmTrackingId && (
<script
key="gtm-script"
Expand All @@ -48,7 +47,6 @@ export const onRenderBody = ({ setHeadComponents }) => {
src={`https://www.googletagmanager.com/gtm.js?id=${gtmTrackingId}`}
></script>
)),
isFeatureEnabled("GTM") &&
(gtmTrackingId && (
<script
key="gtm-script"
Expand All @@ -59,7 +57,6 @@ export const onRenderBody = ({ setHeadComponents }) => {
)),

// Hotjar setup
isFeatureEnabled("hotjar") &&
(hotjarId && (
<script
key="hotjar-script"
Expand Down
2 changes: 0 additions & 2 deletions static/appConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ module.exports = {
"trustpilot": true,
"live_pricing": false,
"deriv_go_management_board": true,
"GTM": true,
"hotjar": true,
"google_signup": true,
"apple_signup": false,
"facebook_signup": true,
Expand Down

0 comments on commit 887f02a

Please sign in to comment.