Quickstart
Get Apex running on your site in under 5 minutes.
Prerequisites
- A website where you can add a script tag
- An Apex account (sign up free)
Step 1: Install the Tracking Snippet
Add the Apex snippet to your site's <head> tag. Replace YOUR_PROJECT_KEY with your actual project key from the dashboard.
<script src="https://your-apex-url/api/apex-js?key=YOUR_PROJECT_KEY" defer></script>
The snippet automatically captures:
- Page views with full UTM parameter tracking
- Form submissions with hidden field enrichment
- Click IDs from Google, Meta, LinkedIn, and Microsoft ads
Step 2: Verify Installation
Once the snippet is installed, open your site in a browser and check the Network tab in DevTools. You should see requests to /api/events and /api/experiments/active.
You can also verify from the Apex dashboard:
- Go to Settings > Snippet
- Click Verify Installation
- Enter your site URL
Step 3: Define a Goal
Goals tell Apex what success looks like. Navigate to Goals in the dashboard and create your first conversion goal:
- Form submission — Track when visitors submit a specific form
- Page view — Track when visitors reach a thank-you or confirmation page
- Click — Track when visitors click a specific button or link
- Custom event — Track any event you send via the SDK
Step 4: Create Your First Experiment
With a goal defined, you can run your first A/B test:
- Go to Experiments in the dashboard
- Click New Experiment
- Choose your experiment type (text change, redirect, or code)
- Set your goal as the success metric
- Configure traffic split (we recommend 50/50 to start)
- Activate the experiment
Apex handles variant assignment, result tracking, and statistical analysis automatically.
Next Steps
- Install the SDK for server-side tracking
- Connect your ad platforms for attribution data
- Learn about beliefs — the mental model behind Apex