Data Models & Storage

Schema Overview

1. Merchant

  • merchant_id

  • platform

  • domain

  • api_tokens

  • plan_type

2. Test

  • test_id

  • merchant_id

  • start_time

  • end_time

  • traffic_split

3. Variant

  • variant_id

  • test_id

  • webflow_site_id

  • type (control or AI)

4. Event

  • event_id

  • test_id

  • variant_id

  • event_type (page_view, conversion)

  • timestamp

5. Order

  • order_id

  • test_id

  • variant_id

  • amount

  • timestamp

6. Billing/Subscription

  • Tracking revenue share for each test.

  • **Integration with Shopify usage charges or Stripe subscriptions.

Last updated

Was this helpful?