Reviewed-on: #13 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
14 lines
320 B
Plaintext
14 lines
320 B
Plaintext
---
|
|
import { GoogleAnalytics } from '@astrolib/analytics';
|
|
import { ANALYTICS } from 'astrowind:config';
|
|
---
|
|
|
|
{
|
|
ANALYTICS?.vendors?.googleAnalytics?.id ? (
|
|
<GoogleAnalytics
|
|
id={String(ANALYTICS.vendors.googleAnalytics.id)}
|
|
partytown={ANALYTICS?.vendors?.googleAnalytics?.partytown}
|
|
/>
|
|
) : null
|
|
}
|