> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/en/remote-configs/remote-config-with-abtest.md).

# A/B Test with Remote Config

Assume you have a Remote Config that manages coupon information displayed on the home screen. The coupon offers a 20% discount, and the CTA button message for downloading the coupon is "Get Your Discount Now."

![](/files/QTzJhRAhwhrSdCzdZ2pQ)

With Remote Config, you can change the coupon discount rate and CTA button message without a deployment. For example, to offer a separate coupon to VIP members, you can use targeting and configure it as follows:

![](/files/czpgGAFATp5IJx1ulgb8)

You can also change the coupon discount rate and CTA button message displayed to regular members.

![](/files/AoA3xnsRUAb03FmArLZF)

However, to verify whether the new CTA copy achieves a higher click-through rate (CTR) for the coupon download button compared to the existing copy, you can run an A/B Test on the CTA copy.

Create an A/B Test for the "CTA copy" and set the A/B Test as a targeting condition as shown in the image below, so that users in Group B see the new CTA copy.

![](/files/L2Dc0BksYmJiHxJZ5wVP)

After that, navigate to the A/B Test page, start the test, and compare the click-through rate trend for each group. On the Remote Config screen, there is a button to the right of the A/B Test targeting condition area that lets you navigate to the A/B Test detail page.

![](/files/ALD8DaxaKOvQPSI0fLbV)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hackle.io/en/remote-configs/remote-config-with-abtest.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
