Skip to content

Add Reo.dev analytics script#906

Merged
danbarr merged 1 commit into
mainfrom
add-reo-analytics
May 29, 2026
Merged

Add Reo.dev analytics script#906
danbarr merged 1 commit into
mainfrom
add-reo-analytics

Conversation

@danbarr
Copy link
Copy Markdown
Collaborator

@danbarr danbarr commented May 29, 2026

Description

Adds the Reo.dev tracking snippet to the site via a Docusaurus plugin. Like the existing GTM and HubSpot integrations, it only loads on production Vercel deployments (VERCEL_ENV === 'production'), so it stays disabled during local development and preview builds.

The Reo snippet creates and appends its own reo.js script element, so it's injected as a single head script tag with no noscript/preBody fallback needed. The minified snippet is kept verbatim as generated from the Reo.dev dashboard.

Type of change

  • Other / internal (analytics configuration)

Related issues/PRs

N/A

Load the Reo.dev tracking snippet via a Docusaurus plugin, gated on
production deployments only (VERCEL_ENV === 'production'), matching the
existing GTM and HubSpot behavior.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 18:31
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

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

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment May 29, 2026 6:32pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the Reo.dev analytics loader to the Docusaurus site configuration, aligned with existing production-only tracking behavior for Vercel deployments.

Changes:

  • Adds a reo-dev Docusaurus plugin.
  • Injects the Reo.dev tracking snippet into the document head only when VERCEL_ENV === 'production'.

@danbarr danbarr enabled auto-merge (squash) May 29, 2026 18:39
@ninfriendos1 ninfriendos1 self-assigned this May 29, 2026
@ninfriendos1 ninfriendos1 self-requested a review May 29, 2026 18:49
@danbarr danbarr merged commit ab5a34a into main May 29, 2026
4 checks passed
@danbarr danbarr deleted the add-reo-analytics branch May 29, 2026 18:50
danbarr added a commit that referenced this pull request Jun 2, 2026
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