diff --git a/marketing/analytics-access.md b/marketing/analytics-access.md index 834bf24..abcbd73 100644 --- a/marketing/analytics-access.md +++ b/marketing/analytics-access.md @@ -27,6 +27,10 @@ one-time setup. ## GA4 events +Both apps load `gtag.js` only when the page hostname is `rdlabo.dev` or one of its subdomains. +Local development (`localhost`, `127.0.0.1`) and preview hosts define the `gtag` stub but never +load the tag, so their page views and clicks do not reach the property. + The site emits these events from article pages: | Event | Meaning | diff --git a/projects/docs/src/index.html b/projects/docs/src/index.html index 2e415dd..dcb1fa1 100644 --- a/projects/docs/src/index.html +++ b/projects/docs/src/index.html @@ -12,15 +12,20 @@ - - + diff --git a/projects/web-site/src/index.html b/projects/web-site/src/index.html index f01d780..c1c3462 100644 --- a/projects/web-site/src/index.html +++ b/projects/web-site/src/index.html @@ -18,15 +18,20 @@ - - +