Skip to main content
Project Analytics shows how people find and use your published web app. Open the Growth pane to review visitor trends, traffic sources, and custom events. Replit collects default traffic metrics for supported published apps. On a paid plan, Agent can add custom events and answer questions about your analytics.

Before you start

Project Analytics requires:
  • A published website. Analytics supports website artifacts. It does not collect events from mobile apps or other artifact types.
  • A supported Deployment. Project Analytics supports Autoscale, Reserved VM, and Static Deployments.
  • A paid plan for advanced analytics. Custom events and analytics queries with Agent are available on paid plans.
  • Analytics enabled on your next release. Replit collects events after you turn on Enable analytics and publish or republish your app.

Open Project Analytics

  1. Open your project in the Project Editor.
  2. Select Tools.
  3. Under Replit Cloud, select Growth.
The Growth pane stays locked until you publish your app. Before that, it prompts you to Go to Publishing.
The Growth pane showing SEO Rating, Add metrics with Agent, the Summarize my analytics and Suggest project improvements chips, a visitor total, and a visitor trend chart

The Growth pane shows SEO tools, advanced analytics actions, and default visitor metrics

Analytics data appears after your published app receives traffic. New apps can show empty charts until people visit them.

Review default analytics

Default analytics uses IP traffic data to show these metrics:
  • Visitors: The approximate number of unique visitors during the selected period.
  • Visitors over time (hour) or Visitors over time (day): How visitor activity changes during the selected period.
  • Top Pages: The pages that receive the most traffic.
  • Top Referrers: The websites that send traffic to your app.
  • Top Countries: The approximate countries of your visitors.
  • Top Browsers: The browsers that people use.
  • Top Devices: The device types that people use.
Use the time range menu to view periods from six hours to 30 days. The visitor total compares each period with the previous period of the same length. If your app uses Replit Auth, the pane also shows Unique Logged in Users for the selected period.
Visitor counts are approximate. They use network and browser data, and one person can appear as more than one visitor across devices or calendar months.

Add custom events with Agent

Custom events measure actions that matter to your app. Examples include completed sign-ups, selected plans, submitted forms, and completed purchases.
1

Add metrics with Agent

Open Growth. In Advanced analytics, select Add metrics with Agent. Tell Agent which actions you want to measure. Agent adds event tracking at the relevant points in your app.
2

Enable analytics and publish

Open Publishing and start a new publish or republish. Under Suggested add-ons, turn on Enable analytics. Then publish your app. Replit starts collecting page views and custom events from this release.
You can also ask Agent to set up analytics directly from chat. Ask Agent to add or update events at any time as your app or measurement goals change.
Replit adds the analytics tracker to your published app. You do not need to add a tracking script, website ID, or analytics environment variable.
Do not include secrets, personal data, or free-form visitor content in custom event names or properties.

Ask Agent about your analytics

After your app collects data, use the chips in Advanced analytics:
  • Summarize my analytics: Agent summarizes your project’s analytics from the past seven days.
  • Suggest project improvements: Agent reviews your analytics and recommends what to improve in your project.
You can also ask Agent a specific question. Agent can analyze page views, traffic sources, custom events, event properties, and funnels. It uses your project’s analytics data and returns aggregated results.

Next steps

  • SEO Rating: Review the search readiness of your published app.
  • SEO Agent: Find and fix technical SEO problems with Agent.
  • Monitoring: Review uptime, request performance, logs, and resource use.
  • After you publish: Learn how to maintain and improve your live app.