# A/B testing in Sanity Studio with PostHog

ID: youtube:86lW_o3tadg
Canonical HTML: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog
Original source: https://www.youtube.com/watch?v=86lW_o3tadg
Author: Attribution unresolved
Published: 2026-09-22T00:00:00.000Z
Source checked: 2026-10-26T04:00:25.839Z
Language: en
Directory publisher: Roboto Studio
Text: original source material.

## Original source text

A quick walkthrough of A/B testing a hero button with Sanity Studio and PostHog. Set up control and variant pages in Sanity, ship them to users, and read exposures and clicks per user in PostHog.

## Full transcript

Origin: Edited transcript from the original Roboto page

AB testing with Sanity Studio and PostHog. I'm going to show you a very cool example of a button hero that we built internally and how easily you can set your own test and check the results on PostHog.

As you can see on my screen, I've set up my test on Sanity. This is the AB testing space where I've added my control and my other one, called it blue. Essentially it's a black button. And the other thing is I have pages for black and white as well. You can set as many pages in your particular case as you want.

Now I'll show you exactly how this looks. The user will see this and what they can do is click on this button, and you can see the total clicks changing on the screen. If I refresh it, hopefully I get a different variation to show you.

There we go. So we've got the black one. Click a bunch of times. Anyway, you can do this for any use case with different variations. You can do it for form clicks, different pages, or whatever suits your needs. I'll show you how this looks on the PostHog side.

This is my particular demo. As you can see, total exposure is 125. That's 125 times this was exposed to people. I have my control and I have my blue. I called the other one blue but it's essentially a black button. I know it's a little bit confusing but bear with me.

As you can see here, on average there's eight clicks per person for the control, and on average there's nine clicks per user for blue. But the interesting thing is 30 versus 23 exposures to look at. So 23 times the blue button was exposed to the user as compared to 30 times for the control variation. But on average, nine clicks per user was recorded for the blue one. So the blue one, or the black button, is winning in our case.

You can set your metrics here, look at them, look at all the different charts. In our case, as I mentioned, the blue one is doing much better than the white one. But this is a very simple example. The whole point of this video is to show you how easy it is to record this and use it in your own use case.

The tool is completely open source. Let us know if you'd like to try it for yourself and how you found it. We love making these kinds of videos.

## Timestamped captions

### segment-1
[4.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=4)
Hey, how's it going?

### segment-2
[4.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=4)
Hey, how's it going?
In today's video, I'm going to show you

### segment-3
[6.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=6)
In today's video, I'm going to show you

### segment-4
[6.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=6)
In today's video, I'm going to show you
AB testing with Sanity Studio and

### segment-5
[9.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=9)
AB testing with Sanity Studio and

### segment-6
[9.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=9)
AB testing with Sanity Studio and
PostHog.

### segment-7
[10.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=10)
PostHog.

### segment-8
[10.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=10)
PostHog.
So, in this video, I'm going to show you

### segment-9
[12.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=12)
So, in this video, I'm going to show you

### segment-10
[12.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=12)
So, in this video, I'm going to show you
a very cool example of a button hero

### segment-11
[16.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=16)
a very cool example of a button hero

### segment-12
[16.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=16)
a very cool example of a button hero
that we built internally.

### segment-13
[17.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=17)
that we built internally.

### segment-14
[17.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=17)
that we built internally.
And I will show you how easily you can

### segment-15
[20.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=20)
And I will show you how easily you can

### segment-16
[20.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=20)
And I will show you how easily you can
set your own test and check the results

### segment-17
[23.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=23)
set your own test and check the results

### segment-18
[23.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=23)
set your own test and check the results
on PostHog.

### segment-19
[25.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=25)
on PostHog.

### segment-20
[25.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=25)
on PostHog.
So, as you can see on my screen, I've

### segment-21
[27.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=27)
So, as you can see on my screen, I've

### segment-22
[27.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=27)
So, as you can see on my screen, I've
set up my test on Sanity, and this is

### segment-23
[29.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=29)
set up my test on Sanity, and this is

### segment-24
[29.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=29)
set up my test on Sanity, and this is
the AB testing space where I've added my

### segment-25
[32.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=32)
the AB testing space where I've added my

### segment-26
[32.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=32)
the AB testing space where I've added my
control and my other one. I called it

### segment-27
[34.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=34)
control and my other one. I called it

### segment-28
[34.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=34)
control and my other one. I called it
blue. Essentially, it's a black button.

### segment-29
[38.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=37)
blue. Essentially, it's a black button.

### segment-30
[38.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=37)
blue. Essentially, it's a black button.
And the other thing is I have pages for

### segment-31
[40.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=40)
And the other thing is I have pages for

### segment-32
[40.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=40)
And the other thing is I have pages for
black and white as well. And you can set

### segment-33
[42.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=42)
black and white as well. And you can set

### segment-34
[42.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=42)
black and white as well. And you can set
as many pages in in your particular case

### segment-35
[45.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=45)
as many pages in in your particular case

### segment-36
[45.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=45)
as many pages in in your particular case
as you want.

### segment-37
[46.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=46)
as you want.

### segment-38
[46.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=46)
as you want.
Now, I'll show you exactly how this

### segment-39
[48.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=48)
Now, I'll show you exactly how this

### segment-40
[48.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=48)
Now, I'll show you exactly how this
looks. So, the user will see this, and

### segment-41
[51.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=51)
looks. So, the user will see this, and

### segment-42
[51.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=51)
looks. So, the user will see this, and
what they can do is they can click on

### segment-43
[52.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=52)
what they can do is they can click on

### segment-44
[52.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=52)
what they can do is they can click on
this button. And you can see the total

### segment-45
[56.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=56)
this button. And you can see the total

### segment-46
[56.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=56)
this button. And you can see the total
clicks changing on the screen.

### segment-47
[59.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=59)
clicks changing on the screen.

### segment-48
[59.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=59)
clicks changing on the screen.
And if I refresh it, hopefully, I get a

### segment-49
[63.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=62)
And if I refresh it, hopefully, I get a

### segment-50
[63.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=62)
And if I refresh it, hopefully, I get a
different variation to show you guys.

### segment-51
[65.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=65)
different variation to show you guys.

### segment-52
[65.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=65)
different variation to show you guys.
There we go. So, we've got the black

### segment-53
[67.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=67)
There we go. So, we've got the black

### segment-54
[67.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=67)
There we go. So, we've got the black
one.

### segment-55
[68.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=68)
one.

### segment-56
[68.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=68)
one.
Click a bunch of time.

### segment-57
[70.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=70)
Click a bunch of time.

### segment-58
[70.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=70)
Click a bunch of time.
Anyway, so you can do this for any use

### segment-59
[73.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=73)
Anyway, so you can do this for any use

### segment-60
[73.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=73)
Anyway, so you can do this for any use
case for different variations. You can

### segment-61
[75.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=75)
case for different variations. You can

### segment-62
[75.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=75)
case for different variations. You can
do it for form clicks. You can do it for

### segment-63
[77.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=77)
do it for form clicks. You can do it for

### segment-64
[77.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=77)
do it for form clicks. You can do it for
different pages. Whatever suits your

### segment-65
[79.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=79)
different pages. Whatever suits your

### segment-66
[79.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=79)
different pages. Whatever suits your
needs.

### segment-67
[81.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=81)
needs.

### segment-68
[81.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=81)
needs.
And I'll show you how this looks on the

### segment-69
[83.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=83)
And I'll show you how this looks on the

### segment-70
[83.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=83)
And I'll show you how this looks on the
PostHog side. So,

### segment-71
[86.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=86)
PostHog side. So,

### segment-72
[86.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=86)
PostHog side. So,
this is my particular demo.

### segment-73
[88.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=88)
this is my particular demo.

### segment-74
[88.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=88)
this is my particular demo.
As you can see, total exposure is 125.

### segment-75
[92.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=92)
As you can see, total exposure is 125.

### segment-76
[92.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=92)
As you can see, total exposure is 125.
This is pretty simple stuff. Like, you

### segment-77
[94.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=94)
This is pretty simple stuff. Like, you

### segment-78
[94.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=94)
This is pretty simple stuff. Like, you
know, 125 times this was exposed to

### segment-79
[97.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=97)
know, 125 times this was exposed to

### segment-80
[97.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=97)
know, 125 times this was exposed to
people.

### segment-81
[98.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=98)
people.

### segment-82
[98.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=98)
people.
And I have my control, and I have my

### segment-83
[101.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=100)
And I have my control, and I have my

### segment-84
[101.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=100)
And I have my control, and I have my
blue. I called the other one blue, but

### segment-85
[103.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=103)
blue. I called the other one blue, but

### segment-86
[103.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=103)
blue. I called the other one blue, but
it's essentially is a black button. I

### segment-87
[104.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=104)
it's essentially is a black button. I

### segment-88
[104.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=104)
it's essentially is a black button. I
know it's a little bit confusing, but

### segment-89
[106.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=106)
know it's a little bit confusing, but

### segment-90
[106.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=106)
know it's a little bit confusing, but
bear with me.

### segment-91
[108.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=107)
bear with me.

### segment-92
[108.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=107)
bear with me.
So, as you can see here, on average,

### segment-93
[110.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=110)
So, as you can see here, on average,

### segment-94
[110.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=110)
So, as you can see here, on average,
there is eight click per person for the

### segment-95
[113.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=113)
there is eight click per person for the

### segment-96
[113.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=113)
there is eight click per person for the
control.

### segment-97
[114.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=114)
control.

### segment-98
[114.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=114)
control.
And on average, there's like nine click

### segment-99
[116.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=116)
And on average, there's like nine click

### segment-100
[116.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=116)
And on average, there's like nine click
per user for blue. But the interesting

### segment-101
[119.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=119)
per user for blue. But the interesting

### segment-102
[119.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=119)
per user for blue. But the interesting
thing is 30

### segment-103
[121.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=121)
thing is 30

### segment-104
[121.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=121)
thing is 30
30 instances or 30 exposure versus 23

### segment-105
[125.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=125)
30 instances or 30 exposure versus 23

### segment-106
[125.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=125)
30 instances or 30 exposure versus 23
exposure is to look at. So, 23 times

### segment-107
[128.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=128)
exposure is to look at. So, 23 times

### segment-108
[128.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=128)
exposure is to look at. So, 23 times
blue button was exposed to the user as

### segment-109
[130.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=130)
blue button was exposed to the user as

### segment-110
[130.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=130)
blue button was exposed to the user as
compared to 30 times for the control

### segment-111
[132.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=132)
compared to 30 times for the control

### segment-112
[132.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=132)
compared to 30 times for the control
variation. But on average, nine per nine

### segment-113
[137.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=137)
variation. But on average, nine per nine

### segment-114
[137.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=137)
variation. But on average, nine per nine
click per user was recorded for the blue

### segment-115
[140.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=140)
click per user was recorded for the blue

### segment-116
[140.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=140)
click per user was recorded for the blue
one. So, the blue one or the black

### segment-117
[142.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=142)
one. So, the blue one or the black

### segment-118
[142.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=142)
one. So, the blue one or the black
button is winning in our case.

### segment-119
[144.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=144)
button is winning in our case.

### segment-120
[144.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=144)
button is winning in our case.
And you can set

### segment-121
[146.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=146)
And you can set

### segment-122
[146.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=146)
And you can set
your matrices here. You can look at

### segment-123
[149.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=149)
your matrices here. You can look at

### segment-124
[149.1s](https://www.youtube.com/watch?v=86lW_o3tadg&t=149)
your matrices here. You can look at
them. Look at all the different graphs.

### segment-125
[152.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=151)
them. Look at all the different graphs.

### segment-126
[152.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=152)
them. Look at all the different graphs.
In our case, as I mentioned, the blue

### segment-127
[154.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=154)
In our case, as I mentioned, the blue

### segment-128
[154.4s](https://www.youtube.com/watch?v=86lW_o3tadg&t=154)
In our case, as I mentioned, the blue
one is doing much better than the white

### segment-129
[155.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=155)
one is doing much better than the white

### segment-130
[156.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=155)
one is doing much better than the white
one.

### segment-131
[157.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=156)
one.

### segment-132
[157.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=157)
one.
But this is a very simple example. But

### segment-133
[159.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=159)
But this is a very simple example. But

### segment-134
[159.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=159)
But this is a very simple example. But
the whole point of this video is to show

### segment-135
[161.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=161)
the whole point of this video is to show

### segment-136
[161.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=161)
the whole point of this video is to show
you how easy it is to record this and

### segment-137
[163.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=163)
you how easy it is to record this and

### segment-138
[163.7s](https://www.youtube.com/watch?v=86lW_o3tadg&t=163)
you how easy it is to record this and
use it in your own use case. And yeah,

### segment-139
[166.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=166)
use it in your own use case. And yeah,

### segment-140
[166.3s](https://www.youtube.com/watch?v=86lW_o3tadg&t=166)
use it in your own use case. And yeah,
the tuner again completely open source.

### segment-141
[168.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=168)
the tuner again completely open source.

### segment-142
[168.5s](https://www.youtube.com/watch?v=86lW_o3tadg&t=168)
the tuner again completely open source.
So, let us know if you know, if you'd

### segment-143
[171.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=170)
So, let us know if you know, if you'd

### segment-144
[171.0s](https://www.youtube.com/watch?v=86lW_o3tadg&t=171)
So, let us know if you know, if you'd
like to try it for yourself and how you

### segment-145
[172.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=172)
like to try it for yourself and how you

### segment-146
[172.6s](https://www.youtube.com/watch?v=86lW_o3tadg&t=172)
like to try it for yourself and how you
found it. And yeah, we love making these

### segment-147
[175.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=175)
found it. And yeah, we love making these

### segment-148
[175.2s](https://www.youtube.com/watch?v=86lW_o3tadg&t=175)
found it. And yeah, we love making these
kind of videos. So, give us a thumbs up

### segment-149
[177.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=177)
kind of videos. So, give us a thumbs up

### segment-150
[177.9s](https://www.youtube.com/watch?v=86lW_o3tadg&t=177)
kind of videos. So, give us a thumbs up
for this one. And yeah, see you next

### segment-151
[179.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=179)
for this one. And yeah, see you next

### segment-152
[179.8s](https://www.youtube.com/watch?v=86lW_o3tadg&t=179)
for this one. And yeah, see you next
time. Take care. Bye.

## Questions answered on the original page

### What is AB testing in Sanity Studio?
AB testing in Sanity Studio lets you create different variations of content, like buttons with different colors, and serve them to users to see which performs better. You set up a control version and one or more test variations, then track how users interact with each one to determine which wins.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### How do you set up an AB test in Sanity?
In Sanity's AB testing space, you add your control variation and name your other variations, like we called ours blue. You can also create multiple pages for each variation if you need them. The setup is straightforward and you can customize it for whatever you want to test.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### What metrics does PostHog show for AB tests?
PostHog displays total exposures, which is how many times a variation was shown to users, and average clicks per user for each variation. You can see these metrics side by side to compare performance between your control and test versions, along with additional charts and data points.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### How can you tell which variation is winning?
Compare the average clicks per user between your variations. In our example, the blue button had nine clicks per user on average while the control had eight, making the blue variation the winner. PostHog makes it easy to see these numbers and determine which version performs better.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### What kinds of things can you AB test?
You can test button variations, form clicks, different pages, or really any use case where you want to measure user interaction. The system is flexible enough to accommodate whatever variations you want to compare across your product or site.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### Is this tool free to use?
Yes, the tool is completely open source, so you can use it without paying for a license. You can set it up for yourself and start running tests right away with no cost barriers.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog

### How easy is it to track test results?
Once you set up your variations in Sanity, they automatically feed into PostHog and you can see all your metrics and charts immediately. The whole process from setup to viewing results is designed to be straightforward so you can focus on what the data tells you about user behavior.
Source: https://robotostudio.com/videos/a-b-testing-in-sanity-studio-with-posthog
