Ours Integration with Create React App

Learn how to integrate Ours with a Create React App project for tracking page views and custom events.

Ours Integration with Create React App

Integrating Ours with a Create React App (CRA) project is simple and follows a process nearly identical to our Vite + React Router guide. You can easily set up the Ours tracking script, track page views, and log custom events in your CRA application while maintaining HIPAA-compliant analytics.

View the Vite + React Router guide

View the example repo

Integration Options

The integration guide above covers using the Ours Privacy Web SDK.

If you want to use Google Tag Manager instead, you can ignore the code examples and use traditional Google Tag Manager Triggers to fire your events.

Choose the approach that best suits your workflow.