Skip to content

Add Google Analytics tracking#79

Merged
PavelMakarchuk merged 1 commit into
mainfrom
add-analytics-tracking
Jun 18, 2026
Merged

Add Google Analytics tracking#79
PavelMakarchuk merged 1 commit into
mainfrom
add-analytics-tracking

Conversation

@PavelMakarchuk

Copy link
Copy Markdown
Contributor

Summary

PolicyBench launched without the standard PolicyEngine analytics tag, so traffic isn't being tracked. This adds it.

  • Adds the shared tools GA4 property G-2YHG89FY0N with tool_name: 'policybench', matching the pattern in payroll-deficit-explorer, salt-cap-ny17, child-poverty-impact-dashboard, etc.
  • Loads via next/script with strategy="afterInteractive" in the root layout.
  • Includes the standard engagement events (scroll depth, time-on-tool, outbound clicks) so PolicyBench shows up in the CRM tools leaderboard.

🤖 Generated with Claude Code

Adds the shared PolicyEngine tools GA4 property (G-2YHG89FY0N) with
tool_name 'policybench', matching the pattern used by other standalone
tool sites (payroll-deficit-explorer, salt-cap-ny17, etc.). Includes
pageview config plus scroll-depth, time-on-tool, and outbound-click
events so the tool appears in the CRM tools leaderboard.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
policybench-site Ready Ready Preview, Comment Jun 18, 2026 4:40pm

Request Review

@PavelMakarchuk PavelMakarchuk marked this pull request as ready for review June 18, 2026 17:02
@PavelMakarchuk PavelMakarchuk merged commit f1c1c57 into main Jun 18, 2026
5 checks passed
@PavelMakarchuk PavelMakarchuk deleted the add-analytics-tracking branch June 18, 2026 17:02
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.

1 participant