Skip to content

Commit fb67f4b

Browse files
fix: hardcode GA ID — PUBLIC_GA_ID env var not set in Actions, gtag never loaded
Co-authored-by: Ona <no-reply@ona.com>
1 parent 0917e19 commit fb67f4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface Props {
77
}
88
99
const { title, description = "Context engineering, agent security, cost control, and team practices for AI agent infrastructure in production. 33 chapters." } = Astro.props;
10-
const gaId = import.meta.env.PUBLIC_GA_ID || "G-LYNMNG6M7W";
10+
const gaId = "G-LYNMNG6M7W";
1111
const siteUrl = Astro.site?.toString().replace(/\/$/, "") || "";
1212
const base = import.meta.env.BASE_URL.replace(/\/$/, "");
1313
const canonicalUrl = `${siteUrl}${Astro.url.pathname}`;

0 commit comments

Comments
 (0)