# Analytics for React Apps

## Drop-in analytics for any React app.

Single React component with TypeScript types. Tracks SPA route changes automatically, plus Stripe revenue and custom events.

## Metrics that matter for React Apps

### SPA route tracking

Auto-tracks React Router and TanStack Router.

### Custom event tracking

Hook-based event API.

### User identification

Tie events to logged-in users.

## Common use cases

### TypeScript-first

Full type safety for events and props.

### Works with any router

React Router, TanStack, custom routing.

## Recommended features

- React SDK  
- TypeScript types  
- Hook API

## FAQ

### Why use MetricMap for React Apps?

Single React component with TypeScript types. Tracks SPA route changes automatically, plus Stripe revenue and custom events. It's privacy-first, GDPR-compliant, and connects directly to the tools React Apps teams already use.

### How long does setup take for React Apps businesses?

Under 60 seconds. Paste one script tag, optionally connect Stripe or Shopify, and data starts flowing immediately.

### Is there a free tier?

Yes. MetricMap has a generous free tier that covers most early-stage projects, with paid plans starting when you need more events or advanced features.

## Get analytics built for React Apps

## Analytics for other industries

- [Analytics for SaaS](/content/analytics-for/saas/index.html)  
- [Analytics for Shopify Stores](/content/analytics-for/shopify/index.html)  
- [Analytics for Ecommerce](/content/analytics-for/ecommerce/index.html)  
- [Analytics for Agencies](/content/analytics-for/agencies/index.html)  
- [Analytics for Indie Hackers](/content/analytics-for/indie-hackers/index.html)  
- [Analytics for WordPress Sites](/content/analytics-for/wordpress/index.html)  
- [Analytics for Next.js Apps](/content/analytics-for/nextjs/index.html)  
- [Analytics for B2B Companies](/content/analytics-for/b2b/index.html)
