diff --git a/src/components/Analytics/Plausible.tsx b/src/components/Analytics/Plausible.tsx index b0b1c82a6ef85..49cb60042f44c 100644 --- a/src/components/Analytics/Plausible.tsx +++ b/src/components/Analytics/Plausible.tsx @@ -5,14 +5,17 @@ import { memo } from 'react'; import { getClientConfig } from '@/config/client'; -const { PLAUSIBLE_DOMAIN } = getClientConfig(); +const { PLAUSIBLE_DOMAIN, PLAUSIBLE_SCRIPT_BASE_URL } = getClientConfig(); -const PlausibleAnalytics = memo(() => { - return ( +const PlausibleAnalytics = memo( + () => PLAUSIBLE_DOMAIN && ( -