---
title: A/B Testing
slug: ab-testing
docTags: 
createdAt: 2025-08-08T10:58:01.201Z
---

A/B testing for customers who want to try different application flows.

### Through Jobylon

You can pass the name of the A/B test as a query parameter on the Jobylon URL. The query parameter should be called `jbl_ab_test`. We will store it in the browser session storage for 30 minutes or until the session expires, whichever is shorter. In other words, it will be stored for a maximum of 30 minutes. If a new A/B testing query parameter is found on the URL, the existing one will be overridden and the timeout will be reset to 30 minutes. As long as the user ends up on the application form within 30 minutes, the A/B testing query parameter value will be stored with the application. A `ab_test` parameter is added to the application data sent to your [webhook](#).

### Through the Push API

Just add the `ab_test` parameter when pushing to Jobylon and the data will be stored in Jobylon.

Please ensure that the `ab_test` parameter is less than `100 characters`

### Usecase example

```mermaid
sequenceDiagram
    participant C as Candidate
    participant W as Web
    participant J as Jobylon
    participant BI as BI
    C->>W: Follow link to site
    activate W
    Note right of C: Session gets tagged<br/> with a unique id.<br/> Ex: XYZ123
    W->>J: Follow link to Jobylon
    deactivate W
    activate J
    Note right of W: Link contains query<br/> parameter ab_test.<br/> Ex: ?ab_test=XYZ123  
    J->>J: Candiate applies to job
    alt BI DB access
        Note right of J: Nightly export to<br/> dedicated database<br/> hosted by Jobylon<br/> and accessed by<br/> BI tool. 
    else CSV export
        Note right of J: Manual exported by<br/> Jobylon Support<br/> imported into BI<br/> by client.
    else Webhooks
        J->>BI: ApplicationEvent:created
        activate BI
        Note right of J: All application data<br/> inc. id, ab_test...
        BI->>BI: Process data and connect<br/> to other data sources
        BI-->>J: 
        deactivate BI
        deactivate J
        loop Status changed
            activate J
            J->>BI: ApplicationEvent:status_changed
            activate BI
            Note right of J: All application data<br/> inc. id, ab_test...
            BI->>BI: Process data and add<br/> status changes
            BI-->>J: 
            deactivate BI
            deactivate J
        end
    end
```

