Codapult
PreisePluginsBlogDokuDemo

Das SaaS-Boilerplate für Macher

© 2026 Codapult. Alle Rechte vorbehalten.

Built with Codapult

Projekt

  • Preise
  • Plugins
  • Dokumentation
  • SaaS-Template-Vergleich

Über uns

  • Kontakt

Rechtliches

  • Datenschutzrichtlinie
  • Nutzungsbedingungen
Alle Artikel

Getting Started

  • Introduction
  • Quick Start
  • Project Structure
  • License and Permitted Use

Configuration

  • Environment Variables
  • App Configuration

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Database

  • Database
  • Migrations

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Ai

  • AI Features
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Security

  • Security

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Welcome Page
  • Referrals
  • GDPR Export and Deletion
  • Outgoing Webhooks

Plugins

  • Plugin System
  • AI Kit Plugin
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Deployment

  • Deployment
  • Troubleshooting

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
Modules

A/B Testing

Run weighted experiments with deterministic assignment and conversion tracking.

Codapult includes a lightweight A/B testing framework for pricing pages, onboarding flows, messaging, and product experiments.

Capabilities

  • Weighted variants, such as 50/50 or 80/20.
  • Deterministic bucketing so the same user keeps the same variant.
  • Target percentage rollout.
  • Conversion tracking.
  • Experiment lifecycle: draft, running, paused, completed.
  • Admin API and admin UI hooks.

Key files

FilePurpose
src/lib/experiments/index.tsExperiment assignment and conversion helpers
src/app/api/admin/experiments/route.tsAdmin API for experiments
experiment tableExperiment config and lifecycle
experiment_assignment tableUser assignment and conversion state

Usage

import { getVariant, trackConversion } from '@/lib/experiments';

const variant = await getVariant('pricing-hero', userId);

if (variant === 'annual-first') {
  // Render the annual-first UI.
}

await trackConversion('pricing-hero', userId);

Creating experiments

Use createExperiment with a key, name, variants, target percentage, and optional goal event. Variant weights should add up to 100.

Feature flag

ENABLE_EXPERIMENTS="false"

When disabled, experiment admin surfaces return 404.

Workflow AutomationWelcome Page