Getting Started Overview
Ttoolab runs experiments and collects events in the browser through a lightweight JavaScript SDK called the Ttoolab pixel.
Before you begin
Section titled “Before you begin”You need:
- A Ttoolab account with an active subscription
- A project created in the Ttoolab dashboard
- Your project’s public key (also called
projectKey) - Access to your website’s HTML, tag manager, or application code
Setup flow
Section titled “Setup flow”flowchart LR A[Create project] --> B[Install pixel] B --> C[Create experiment] C --> D[Publish experiment] D --> E[Measure results]1. Create a project
Section titled “1. Create a project”In the Ttoolab dashboard, create a project for each website or application you want to test. Each project has a unique public key used by the pixel.
2. Install the pixel
Section titled “2. Install the pixel”Add the Ttoolab snippet to every page where you want experiments to run. See Installation for HTML, GTM, and SPA examples.
3. Create an experiment
Section titled “3. Create an experiment”Choose an experiment type — A/B test, split URL test, redirect test, or feature flag — and configure variants, URL rules, and goals.
4. Publish the experiment
Section titled “4. Publish the experiment”Publishing pushes the experiment configuration to Ttoolab’s edge network. After publishing, the pixel can assign visitors to variants and apply changes.
5. Measure results
Section titled “5. Measure results”Ttoolab tracks exposures automatically. Define goals to measure conversions, and optionally send custom events from your application code.
SDK endpoint
Section titled “SDK endpoint”The pixel communicates with the Ttoolab SDK endpoint. In production, this is:
https://sdk.ttoolab.comYou can override the endpoint in ttoolabSettings if your account uses a custom deployment.