diff --git a/gatsby-config.js b/gatsby-config.js
index 66d97899414..27319ae5805 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -48,6 +48,9 @@ module.exports = {
`https://assets.customer.io/assets/track.js`,
`https://static.deriv.com/scripts/cookie.js`,
`https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js`,
+ `https://cdn.livechatinc.com/tracking.js`,
+ `https://www.google-analytics.com/analytics.js`,
+ `https://www.googletagmanager.com/gtm.js?id=${process.env.GATSBY_GOOGLE_TAG_MANAGER_TRACKING_ID}`,
],
plugins: [
// [TODO] Enable this when we have a proper setup to enable caching, Otherwise it will cause one of them stop working.
diff --git a/gatsby-ssr.js b/gatsby-ssr.js
index 7048a3cbbb8..3d824a61786 100644
--- a/gatsby-ssr.js
+++ b/gatsby-ssr.js
@@ -14,38 +14,29 @@ export const onRenderBody = ({ setHeadComponents }) => {
const gtmTrackingId = process.env.GATSBY_GOOGLE_TAG_MANAGER_TRACKING_ID || ''
setHeadComponents([
- // Partytown setup
,
,
-
- // GTM setup
gtmTrackingId && (
- ),
- gtmTrackingId && (
-