---
url: 'https://dxpr.com/reinforcement-learning'
title: 'Reinforcement Learning'
author:
  name: Jurriaan
  url: 'https://dxpr.com/users/jurriaan'
date: '2026-10-06T07:58:06+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: drag_and_drop_page
summary: 'A/B testing.Always learning.Meet Reinforcement Learning for Drupal. Test your content, learn from real visitor feedback, and give stronger variations more chances to perform.'
published: true
---
##  [Reinforcement Learning](/reinforcement-learning)

# A/B testing.
Always learning.

Meet Reinforcement Learning for Drupal. Test your content, learn from real visitor feedback, and give stronger variations more chances to perform.

[Download Reinforcement Learning](https://www.drupal.org/project/rl)

[Explore integrations](#integrations)

- Open source
- Native Drupal integrations
- Feedback stored in your database

## Already at work.
Across your Drupal site.

One learning engine, connected to the places where your content meets your visitors. These integrations exist today.

### Pages built in DXPR Builder

Put alternative content into DXPR Builder’s variant slots. Visitor interactions feed the experiment, while the integration chooses which variation to show—even on pages served from a full-page cache.

[Explore DXPR Builder](/drupal-layout-builder)

Existing DXPR Builder integration

### Page titles that earn attention

Give a page more than one title to work with. Test alternatives on content pages, Views pages and controller-generated pages through the bundled page-title module.

[Explore page-title testing](https://www.drupal.org/project/rl)

Bundled submodule · rl\_page\_title

### Content ordering in Views

Let engagement help decide what appears first. The RL sorting module adds a Views sort plugin, so your existing content listings can learn which items get a response.

[Explore Views content testing](https://www.drupal.org/project/rl_sorting)

Companion module · rl\_sorting

### Menu labels that lead somewhere

Does “Resources” or “Learn” help people find the next step? Test alternative labels for menu links through the bundled menu-link module, using clicks as feedback.

[Explore menu-link testing](https://www.drupal.org/project/rl)

Bundled submodule · rl\_menu\_link

## Every interaction
adds evidence.

A test doesn’t have to be a calendar reminder to pick a winner. RL keeps updating its decisions as feedback comes in.

#### Impressions

Learning curves show each headline variant's conversion score settling as impressions accumulate. Slice the same experiment by impressions, day, week or month.

#### Conversions

Per-variant results pair raw impressions with a learning-adjusted conversion score that stays meaningful before anything converts. Shown sample is early-stage: all variants sit at zero conversions to date.

#### Conversion score

The posterior landscape shows the learning-adjusted score per variant with its confidence. Taller, brighter regions mark stronger evidence, not a guaranteed uplift.

- [Impressions](#rl-signals-impressions)Learning curves show each headline variant's conversion score settling as impressions accumulate. Slice the same experiment by impressions, day, week or month.
- [Conversions](#rl-signals-conversions)Per-variant results pair raw impressions with a learning-adjusted conversion score that stays meaningful before anything converts. Shown sample is early-stage: all variants sit at zero conversions to date.
- [Conversion score](#rl-signals-conversion-score)The posterior landscape shows the learning-adjusted score per variant with its confidence. Taller, brighter regions mark stronger evidence, not a guaranteed uplift.

1. ### Start with alternatives

    Choose the content you want to test and define the interaction that counts as a success.
2. ### Learn from what people do

    Impressions record exposure. Clicks or other configured conversions provide rewards. Thompson Sampling balances exploring alternatives with showing promising ones.
3. ### Review. Refine. Keep learning.

    Inspect traffic, performance and confidence in Drupal’s reports. Add fresh alternatives as your content evolves; results remain evidence to assess, not a guaranteed uplift.

[Read how the RL module works](https://www.drupal.org/project/rl)

## Your experiments.
Your Drupal infrastructure.

Keep experimentation close to the content, code and people who run your website.

### Aggregate feedback

RL records anonymous interaction counts in your Drupal database. Its tracking does not need visitor profiles, user IDs or tracking cookies.

### Fit your delivery stack

Select variations server-side or use the JavaScript API for cached pages. Your integration controls how decisions fit your rendering and caching strategy.

### Extend what is there

Use Drupal services, the JavaScript API and HTTP endpoints to connect your own components. The same learning engine can serve more than one module.

## Start where
your content lives.

Add RL to an existing Drupal site, then enable the integrations that suit your content. Building something new? DXPR CMS includes RL and Views content sorting.

[Download Reinforcement Learning](https://www.drupal.org/project/rl)

[Explore DXPR CMS](/marketing-cms)

### Install the learning engine

```
composer require drupal/rl
drush en rl
```

Follow the installation documentation to configure the chart library and endpoints, then connect your first experiment.

[Read the installation guide](https://git.drupalcode.org/project/rl/-/blob/1.x/README.md)

Working with an AI agent? [Install the Reinforcement Learning agent skill](/drupal-agent-skills#agent-setup) to help manage and review your experiments.