Skip to content

feat: add web analytics to docs and web apps - #132

Merged
adelrodriguez merged 3 commits into
mainfrom
08-01-feat_add_web_analytics_to_docs_and_web_apps
Aug 1, 2026
Merged

feat: add web analytics to docs and web apps#132
adelrodriguez merged 3 commits into
mainfrom
08-01-feat_add_web_analytics_to_docs_and_web_apps

Conversation

@adelrodriguez

Copy link
Copy Markdown
Collaborator

Adds web analytics tracking to both the docs and web apps using the @init/analytics package.

For the docs app, a custom Head component is introduced that extends Starlight's default Head and initializes analytics for docs.init.now. For the web app, analytics are initialized for init.now directly within the shared layout component.

@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
init Ready Ready Preview Aug 1, 2026 10:15pm
init-docs Ready Ready Preview Aug 1, 2026 10:15pm

Request Review

@adelrodriguez
adelrodriguez marked this pull request as ready for review August 1, 2026 15:04
@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2aa4224a-f193-421f-b86b-18617e2da85b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Plausible-based web analytics initialization to the docs and web Astro apps via the shared @init/analytics workspace package.

Changes:

  • Add @init/analytics as a dependency for apps/docs and apps/web (and update lockfile).
  • Initialize analytics for init.now in the web app shared layout.
  • Override Starlight’s Head in docs to initialize analytics for docs.init.now.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
bun.lock Records the new workspace dependency resolution for @init/analytics.
apps/web/src/shared/components/layout.astro Initializes web analytics from the shared layout.
apps/web/package.json Adds @init/analytics dependency for the web app.
apps/docs/src/shared/components/head.astro Adds a custom Starlight Head wrapper to initialize analytics.
apps/docs/package.json Adds @init/analytics dependency for the docs app.
apps/docs/astro.config.ts Configures Starlight to use the custom Head component.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/docs/src/shared/components/head.astro Outdated
@vercel
vercel Bot temporarily deployed to Preview – init August 1, 2026 22:06 Inactive
@adelrodriguez
adelrodriguez merged commit b266e88 into main Aug 1, 2026
10 checks passed
@adelrodriguez
adelrodriguez deleted the 08-01-feat_add_web_analytics_to_docs_and_web_apps branch August 1, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants