
Feb 20, 2024
This guide explains traffic allocation and audience segmentation in A/B testing and split testing environments. Learn how to configure traffic distribution, user segmentation, and variant assignment for your website optimization and conversion rate optimization (CRO) experiments.
Segmentation Options
Location Targeting
Users are matched against their country of origin. A variant can be limited to one or multiple countries. The system evaluates the user's location against the configured countries list.
Language Targeting
Variants can be restricted to specific browser languages. The system checks the user's browser language settings against the configured language list. Multiple languages can be specified for a variant.
Browser Targeting
Browser targeting offers two methods:
Vendor matching: Target specific browser vendors (e.g., Chrome, Firefox, Safari)
User-Agent pattern matching: Use regular expressions to match the User-Agent header for more granular control
UTM Parameter Targeting
Variants can be restricted to users based on UTM parameters in their entry URL:
Supports all UTM parameters (utm_source, utm_medium, utm_campaign, etc.)
UTM parameters are sticky - they persist across the user's session
If a user navigates away from the entry URL, the system still uses their original UTM parameters for variant assignment
Traffic Allocation Process
Segmentation Check
System evaluates all configured targeting rules (Location, Language, Browser, UTM)
Users must match ALL configured rules to be eligible for the variant
If any rule fails, the user is redirected to a different variant
Ratio Application
After passing all segmentation rules, users are assigned based on the specified ratio
Ratio determines the percentage of eligible traffic assigned to the variant
Original Variant
Captures all traffic that doesn't match other variant criteria
Acts as a fallback for users who:
Don't match segmentation rules
Match rules but fall outside the ratio
Have technical issues during evaluation
Traffic Flow Example
Given two variants with the following configuration:
Variant B (Test):
Location: US, UK
Language: en
Browser: Chrome
UTM: utm_source=email
Ratio: 30%
Variant A (Original):
No restrictions (catches remaining traffic)
A user will be assigned to Variant B only if:
They are from the US or UK
Their browser language is English
They are using Chrome
They arrived via an email campaign (utm_source=email)
They fall within the 30% ratio allocation
Otherwise, they will be assigned to Variant A (Original).
Read more:
Conversion Tracking: A Complete Guide to Experiment Goals
Conversion tracking forms the backbone of successful A/B testing, and Optux.ai provides a comprehensive goal system that measures what matters most to your business. From simple button clicks and form submissions to complex custom JavaScript events and scheduling integrations with HubSpot and Calendly, the platform offers seven distinct goal types that capture every meaningful user interaction. By automatically tracking these conversions and applying statistical analysis to determine winning variants, Optux.ai transforms raw user behavior data into actionable insights that drive website optimization decisions, all while maintaining flicker-free performance and accurate attribution that's immune to ad blockers and privacy settings.

Aug 31, 2025
📁 A/B testing
📁 Split testing
📁 Targeting
Optimizing Cloudflare Worker Usage
Cloudflare Workers charges per invocation, and costs can quickly spiral when workers process every request including static assets. This comprehensive guide explains how to optimize your worker usage and dramatically reduce costs through strategic route exclusion.

Aug 19, 2025
📁 Cloudflare
📁 Installation
Content Security Policy (CSP) Header
Our Smart Agent automatically updates Content Security Policy (CSP) headers to enable smooth A/B testing without compromising browser security. Our cybersecurity-vetted solution eliminates manual CSP configuration, ensuring experiments run smoothly while maintaining strict security standards.

Aug 15, 2025
📁 A/B testing
📁 Installation
📁 Cloudflare
Whitelisting Outgoing IP Address
OPTUX uses a single static IP address for all outbound connections. Learn how to whitelist this IP in your system

Aug 17, 2025
📁 Installation
📁 Cloudflare