Skip to content
All articles
BLOG

ONLang Free Trial Guide: How to Test Bayesian Paywall Optimization for 14 Days

Exactly what ONLang’s 14-day trial includes, how to validate native SDKs, bandits, holdouts, console analytics, pricing, and production readiness.

Key Takeaways

  • Yes: ONLang offers a full-featured 14-day free trial per new app, including production use and real users, with no card required to sign up.
  • A useful trial validates registered native components, billing continuity, fallback and kill behavior, experiment assignment, bandit allocation, holdout isolation, and analytics—not just remote copy publishing.
  • After the trial, each app needs a plan paid through PayPal: $19 or $39 per month up to a monthly order volume, or $49 at any volume; if no plan is active, ONLang switches off and the app’s own paywall remains responsible.

A two-week trial is enough to test a thin vertical slice if the scope is explicit. It is not enough to manufacture trustworthy annual-renewal results or promise a conversion lift. The goal is to determine whether ONLang’s contract model fits your app, whether its operational controls behave correctly, and whether your event pipeline can support optimization.

Registration is open at /register; there is no waitlist. The trial applies per new app and includes full functionality. You can test in production with real users, although a staged internal or low-risk rollout remains sensible for a mission-critical paywall.

What the trial includes

The trial includes the platform’s full functionality for 14 days: SDK integration, component registry, hypothesis publishing, experiments, console workflows, and production delivery. It is not a reduced demo that forbids real users. No card is required to create the account.

Current pricing after the trial, per app: Starter at $19 per month for orders up to $3,877 per month, Growth at $39 per month for orders up to $7,959 per month, or Flat at $49 per month at any volume. An order is a store-verified purchase or renewal by an install that opened an ONLang flow within the hour before it. Plans are paid through PayPal, and plan changes are approved there; Flat can also be paid as 2,500 Telegram Stars per 30 days. These tiers are not revenue-share percentages.

If your orders outgrow your tier, owners and admins are emailed, and the app is suspended 14 days later unless it moves up a plan. onlang billing status shows your plan, standing, and what each plan would cost at your volume.

If the trial ends without a plan, or a plan lapses, ONLang switches itself off for that app. Users then see the app’s own screens and can still buy through existing billing. That behavior makes the fallback a core part of the evaluation rather than an emergency afterthought.

Start the 14-day trial and create one app for the vertical slice. Keep production and test access tokens protected and out of mobile clients and public VITE_ variables.

Day 1: establish the current baseline

Record the existing paywall’s product identifiers, store offers, exposure events, purchase events, entitlement source, and known performance characteristics. Capture current screenshots at normal and large accessibility text sizes. Note existing refund, cancellation, and trial-to-paid definitions even if their readout extends beyond the trial.

Do not change billing and rendering simultaneously. ONLang works with StoreKit 2, Play Billing, RevenueCat, or app-provided purchase functions. Keep those functions and customer identity unchanged so integration defects are easier to isolate.

Choose one existing screen and one low-risk token hypothesis. A CTA or outcome-led headline is easier to validate than a new product grid. Define the control precisely; it becomes both the experiment comparison and the bundled fallback.

The ONLang quickstart gives the full command sequence. Use the iOS guide, Android guide, or React Native guide for your platform.

Days 2–3: integrate and verify native rendering

Install OnlangKit on iOS, io.onlang:onlang-kit:1.0.0 on Android, or @on-lang/react-native on React Native. Register existing native components through the appropriate registry and flow API. Optional StoreKit, RevenueCat, billing, or Compose artifacts depend on your actual stack.

Test the registry’s limits: oversized headline, invalid product, missing required prop, unknown field, and unsupported composition. Confirm failures produce a safe fallback rather than a blank screen. Check plan selection and purchase actions against the current store catalog.

Inspect accessibility, localization, safe areas, dark mode, and large text. A contract can be syntactically valid and visually unusable. Test slow product loading and store cancellation too. ONLang coordinates composition; it does not repair app-specific purchase or accessibility defects.

For React Native, no custom TurboModule is required. Profile a release build rather than assuming the New Architecture makes rendering free. React Native SDUI implementation covers stable rendering and cache behavior.

Days 4–5: test offline and kill paths

Compose a local control bundle:

onlang compose --placement paywall --locale en --out build/onlang/paywall

Ship the output (composition.json, manifest.json and the screen bundles) with the app and verify network → cache → bundled resolution. Cold-start in airplane mode and open the placement. The native screen should show coherent copy, current store state where available, and working purchase and restore interactions subject to store connectivity.

Rehearse the operational controls:

onlang kill paywall --reason "TRIAL: rollback verification"
onlang kill --status
onlang kill paywall --lift

Confirm that failed and killed outcomes render the app’s own paywall. Record propagation timing and offline behavior. If ONLang becomes unavailable or the plan is unpaid, this same application-owned path must keep the purchase flow alive.

Offline-first dynamic paywalls provides a fuller edge-case matrix. The zero-risk migration blueprint explains canary rollout and parity checks.

Days 6–7: publish a controlled experiment

Create a hypothesis with two approved variants and lint every assignment:

onlang hypothesis create --id paywall.cta.copy --kind tokens --screen paywall \
  --key cta.title --rationale "Name the outcome, not the step" \
  --variant "outcome=Get my plan" --variant "trial=Try Pro free for {{trial.annual}}"
onlang lint
ONLANG_TOKEN=onl_sk_… onlang publish
ONLANG_TOKEN=onl_sk_… onlang experiment create --placement paywall --holdout 0.1 --start
ONLANG_TOKEN=onl_sk_… onlang experiment status <id>

Verify that the trial token resolves to a real eligible annual offer. If it does not, replace the variant before publishing. Do not treat schema validation as proof that copy matches store terms.

The example holdout is 10%; it is not universally optimal. Choose a fraction that leaves enough control observations for your baseline and decision threshold. Fourteen days may be insufficient for a small effect, so the trial can validate mechanics while the experiment continues under a chosen plan.

Keep the candidate set fixed during the readout. Adding generated arms midstream complicates analysis. Finite hypothesis spaces explains how to add LLM proposals safely later.

Verify bandit behavior without forcing a result

The textbook version treats each composition as a Beta-Bernoulli arm; ONLang's optimizer goes further, fitting a factored Bayesian logistic model so compositions that share a factor learn from each other, and uses Beta posteriors for the uplift over the holdout. With prior Beta(α, β), s successes, and f failures, the posterior is Beta(α + s, β + f). Thompson Sampling draws from each posterior and allocates the next eligible impression to the arm with the largest draw.

In the console and event pipeline, verify stable assignment identity, actual exposure events, outcome timestamps, and arm counts. Do not expect immediate convergence or a winner in a low-volume trial. Randomness and exploration are part of the mechanism.

Do not repeatedly inspect a naive p-value and stop when it looks favorable. Adaptive allocation changes the data-generating process. Use appropriate inferential reads, a fixed validation phase, or the persistent control for program-level comparison.

Bayesian bandits for paywall optimization includes a reproducible simulation and explains regret, delayed feedback, and non-stationarity. It also distinguishes a percentage-point change from relative lift.

Verify holdout isolation and analytics

A holdout user should remain on the control across app restarts, cache refreshes, and subsequent releases. Test at least one control and one treatment identity through repeated impressions. Ensure an offline or failed release does not silently reassign the user.

Reconcile console counts with client analytics and store events using a small known test set. Investigate duplicate exposures, missing purchases, prefetch events counted as impressions, and delayed uploads. A sophisticated allocator cannot compensate for broken event semantics.

Keep trial starts, paid conversions, renewals, cancellations, and refunds distinct. Outcomes that have not matured are pending, not failures. Preserve the original arm for delayed attribution. The console’s immediate readout should not be extrapolated into annual lifetime value without a labelled model.

Holdout groups and incrementality covers sample size, contamination, and long-term cohort reads. ONLang keeps holdout installs on the control and reports uplift against them; validate the exact production behavior you need in your own app rather than assuming the console covers every analytics requirement.

Transition to production deliberately

Before expanding traffic, complete a release review: registry version, component compatibility, local fallback, store sandbox purchase, restore, legal disclosures, analytics parity, kill rehearsal, and access-token handling. Document who can publish and who can stop an experiment.

Choose the paid tier only after reviewing your order volume from users who saw an ONLang flow; onlang billing subscribe takes tier19, tier39 or flat and hands the approval to PayPal. At $19, $39, or $49 per month, infrastructure cost is straightforward compared with revenue-share pricing, but migration and operating time still matter. Build versus buy provides a total-cost framework.

If you decide not to continue, let the trial end (or run onlang billing cancel, which ends a paid plan at the end of the paid period) and verify the application-owned paywall remains live. Do not remove fallback code as part of “cleanup.” Export or retain any experiment and contract records your workflow needs.

Production use during the trial can provide real integration evidence, but avoid promising uplift from a short, immature sample. A successful trial proves operability and measurement readiness; revenue conclusions need appropriate sample size and time.

A 14-day acceptance scorecard

By day 14, you should be able to answer: Can the app render its existing native paywall from a contract? Can it purchase and restore through unchanged billing? Does first-launch offline fallback work? Can operators kill a placement? Are experiment arms and holdouts stable? Do console and store events reconcile? Are legal terms and accessibility intact?

If the answer is yes, the next step is a measured production rollout with predefined outcomes. If the answer is no, narrow the integration and fix the failed layer before adding variants. More generated copy will not solve missing entitlement events or a broken fallback.

Create your app and start the full-featured trial. For a hands-on sequence, keep the one-hour quickstart and your platform guide open beside the console.

Sources