Shipkit
DocsFeaturesPricing
DocsFeaturesPricing

Command Palette

Search for a command to run...

Shipkit DocumentationBuild memory optimizationDevelopment GuideEnvironment VariablesError HandlingFile StructureMiddlewareRebranding Guide

Vercel Deployment Checks

Development GuideCLIDependency UpdatesDevToolsFeature FlagsAI PromptsSetup RequirementsSupply chaintRPCWeb Workers

FeaturesAIAnalytics IntegrationAuthenticationCMSDatabaseEmailHapticsPaymentsComponent RegistryStorageUIVisual BuilderWaitlist Feature

Quick StartDeploymentEnvironment VariablesFile StructureSetup Wizard

Caching & Rate LimitingContent ManagementError HandlingMarkdown and MDXMiddlewareProxy-Safe Server ActionsRebranding GuideWebhook Security Implementation GuideMulti-Zone ArchitectureVercel Deployment

IntegrationsPayload CMSDataFast Analytics IntegrationGoogle Analytics IntegrationGoogle Tag Manager IntegrationPostHogStatSig IntegrationUmami Analytics IntegrationAuth.js IntegrationBetter AuthClerkStack Auth IntegrationSupabase Authentication IntegrationBuilder.io IntegrationPayload CMS IntegrationAWS S3 IntegrationResend Email IntegrationUpstash Redis IntegrationVercel Blob IntegrationLemon SqueezyPolarStripe

API RoutesComponentsAPI Route SnippetsAuthentication SnippetsComponent SnippetsForm Handling SnippetsSnippets Introduction

Analytics Integration

Shipkit includes built-in support for PostHog, Umami, and DataFast analytics to help you understand user behavior and improve your application.

PostHog Analytics

PostHog is a powerful product analytics platform that provides:

  • Product analytics
  • Session recording
  • Feature flags
  • A/B testing
  • User surveys
  • And more

Configuration

Add these environment variables to enable PostHog:

NEXT_PUBLIC_POSTHOG_KEY=your_posthog_key
NEXT_PUBLIC_POSTHOG_HOST=your_posthog_host

Get your API keys from the PostHog Dashboard.

Resources

  • PostHog Documentation

Umami Analytics

Umami is a simple, fast, privacy-focused alternative to Google Analytics. It provides:

  • Page views
  • Visitor insights
  • Real-time data
  • Privacy compliance
  • No cookie notices required

Configuration

Add this environment variable to enable Umami:

NEXT_PUBLIC_UMAMI_WEBSITE_ID=your_umami_website_id

Get your Website ID from your Umami dashboard after creating a project.

Resources

  • Umami Documentation

DataFast Analytics

DataFast is a privacy-friendly analytics tool focused on revenue attribution and marketing analytics.

Configuration

Add these environment variables to enable DataFast:

NEXT_PUBLIC_DATAFAST_WEBSITE_ID=your_datafast_website_id
# Optional: set your primary domain shown in their dashboard
NEXT_PUBLIC_DATAFAST_DOMAIN=yourdomain.com

Add the tracking script is handled automatically when the above variables are present and the feature flag is generated at build time. See their App Router docs: DataFast Next.js App Router guide.

Resources

  • DataFast Documentation

Additional Resources

  • Web Analytics Guide