diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 2d64eb3..aa061c7 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -10,6 +10,7 @@ interface Props { const { title, description = 'Dev Proxy - Simulate API behaviors for testing and development', image } = Astro.props; const canonicalURL = new URL(Astro.url.pathname, Astro.site ?? 'https://devproxy.net'); const ogImage = image ? new URL(image, Astro.site ?? 'https://devproxy.net').href : undefined; +const clarityProjectId = import.meta.env.PUBLIC_CLARITY_PROJECT_ID; --- @@ -45,6 +46,15 @@ const ogImage = image ? new URL(image, Astro.site ?? 'https://devproxy.net').hre } })(); + {clarityProjectId && ( + + )}