• Docs
  • Changelog
Sign in
Get started
    • Home
    • Your first deploy
    • Free instances
    • Platform features by plan
    • Use with coding agents
    • FAQ
    • Templates
      • Migrate from…
        • Heroku
        • Railway
    • Compute plans
    • SandboxesBeta
      • Service types
        • Which to use?
        • Static sites
        • Web services
        • Private services
        • Background workers
        • Cron jobs
        • Workflows
        • Multi-service architectures
      • Data storage
        • Render Postgres
        • Render Key Value (Redis®-compatible)
        • Persistent disks
    • How deploys work
    • Supported languages
    • Git providers (GitHub, etc.)
    • Build pipeline
    • Deploy hooks
    • Monorepo support
    • Troubleshooting deploys
      • Previewing changes
        • Single-service previews
        • Preview environments (multi-service)
      • Docker deploys
        • Overview
        • Deploy a registered image
        • Using secrets
      • Runtime
        • Native runtimes
        • Environment variables & secrets
        • Default environment variables
    • Intro to sandboxes
    • Limits
      • How to…
        • Create & configure sandboxes
        • Execute commands
        • Manage files
        • Manage snapshots
      • Use with…
        • Claude Managed Agents
        • Cursor Cloud Agents
        • OpenAI Agents API
      • SDK/CLI reference
        • TypeScript SDK
        • Python SDK
        • CLI commands
    • Intro to workflows
    • Tutorial
    • Limits & pricing
      • How to…
        • Define tasks
        • Define flowsNew
        • Trigger runs
        • Develop locally
      • SDK reference
        • TypeScript SDK
        • Python SDK
      • Example workflows
        • TypeScript examples
        • Python examples
    • Overview
    • Create & connect
    • Database credentials
    • Extensions
    • Version upgrades
    • Logical replication
    • Legacy instance types
      • Database recovery
        • Recovery & backups
        • High availability
      • Database performance
        • Read replicas
        • Connection pooling
        • Admin apps
        • Repacking tables
        • Troubleshooting performance
    • Regions
    • Inbound IP rules
    • Edge caching
    • WebSockets
    • TLS certificates
      • Custom domains
        • Overview
        • Cloudflare
        • Namecheap
        • Other DNS providers
      • Internal traffic
        • Private network
        • Private links
      • Outbound traffic
        • Default IP ranges
        • Dedicated IP addresses
        • Outbound bandwidth
        • Handling network changes
      • Static site config
        • Custom response headers
        • Redirects & rewrites
    • The Render Dashboard
    • SSH / Shell access
    • Projects & environments
      • Service actions
        • Scaling
        • Rollbacks
        • Maintenance mode
        • One-off jobs
      • Infrastructure as code
        • Blueprints overview
        • render.yaml reference
        • Terraform provider
    • In-dashboard metrics
    • Health checks
    • Uptime best practices
      • Logging
        • In-dashboard logs
        • Log streams (syslog/HTTPS)
      • OpenTelemetry (OTel) metrics
        • Provider setup
        • Metrics reference
      • Notifications
        • Webhooks
        • Email / Slack
    • MCP Server
      • Render CLI
        • Overview
        • Command reference
      • REST API
        • Overview
        • API reference
      • Third-party connections
        • OIDC support
        • Datadog
    • Workspaces, members, & roles
    • Login settings
    • Audit logs
      • Organizations
        • Overview
        • SAML SSO
    • DDoS protection
    • Platform maintenance
      • Compliance
        • Overview
        • HIPAA (US health data)
        • HIPAA best practices
        • Shared responsibility model
        • Pentest policy
    • Heroku vs Render
    • Vercel vs Render

Deploy GoatCounter

GoatCounter is an open-source web analytics platform that is free for non-commercial use and available as a hosted service or self-hosted app. It respects the user's privacy and has a simple, easy-to-use interface. In order to deploy GoatCounter on Render, you can either use the One-Click Deploy button or follow the Manual Deploy steps.

One-Click Deploy

Click Deploy to Render below to set up GoatCounter in your Render workspace.

Deploy to Render

Then, on the deployment dashboard, enter values for the GC_USER_EMAIL and GC_PASSWORD environment variables to create your GoatCounter account.

That's it! Once the service is deployed, you can find the access URL on top of your service dashboard. Go to your https://goatcounter-xyz.onrender.com address, log in using the credentials you just provided and start using GoatCounter on Render!

Manual Deploy

Create a Database

Create a new managed PostgreSQL instance on Render. The database should be up in a few minutes; wait for it to go live before moving to the next step.

Note your database internal database URL; you will need it later.

Deploy GoatCounter

  1. Fork render-examples/goatcounter on GitHub or click Use this template. Then, give Render's GitHub app permission to access your new repository.

  2. Create a new Web Service on Render with your new repo. Make sure the Language field is set to Docker and pick a name for your service.

  3. Add the following environment variables to your web service and click Create Web Service at the bottom of the page.

    KeyValue
    DB_CONNECTION_STRINGInternal Database URL from your PostgreSQL database
    DB_PASSWORDPassword from your PostgreSQL database
    DB_USERUsername from your PostgreSQL database
    DB_NAMEDatabase name from your PostgreSQL database
    GC_USER_EMAILyour email (use for logging into GoatCounter)
    GC_PASSWORDyour password (use for logging into GoatCounter)

That's it! Your GoatCounter instance will be available on your .onrender.com URL as soon as your first deploy is live. Visit that address and start using GoatCounter.

GoatCounter Welcome Screen

Deploy GoatCounter
  • One-Click Deploy
  • Manual Deploy
    • Create a Database
    • Deploy GoatCounter
All Systems Operational
© Render Inc. All rights reserved.