---
import { GoogleAnalytics } from '@astrolib/analytics';
import { ANALYTICS_CONFIG } from '~/utils/config';
---

{
  ANALYTICS_CONFIG?.vendors?.googleAnalytics?.id ? (
    <GoogleAnalytics id={String(ANALYTICS_CONFIG.vendors.googleAnalytics.id)} partytown={true} />
  ) : null
}
