You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to test your changes on CODE you need to follow these steps:
215
-
216
-
1. Configure the A/B tests on your branch
217
-
218
-
2. Deploy your branch to CODE
219
-
220
-
3. Manually run the [🧪 AB testing CI (CODE)](https://github.com/guardian/dotcom-rendering/actions/workflows/ab-testing-ci-code.yml) worfklow using your branch. This deploys the test config to Fastly CODE.
221
-
222
-
The 3rd step is crucial as Fastly buckets users into tests/cohorts and returns your A/B test participations as response headers.
223
-
224
-
#### Ways to check your participation
212
+
### Ways to check your participation
225
213
226
214
#### In source code
227
215
@@ -259,7 +247,19 @@ Server side tests are also available in the CAPI object e.g. `CAPIArticle.config
259
247
260
248
Fastly sends a user's AB participations via the `x-gu-server-ab-tests` response header (server side A/B tests) and `gu_client_ab_tests` response cookie (client side A/B tests).
261
249
262
-
#### Forcing yourself into a test on PROD
250
+
### Testing your changes on CODE
251
+
252
+
If you want to test your changes on CODE you need to follow these steps:
253
+
254
+
1. Configure the A/B tests on your branch
255
+
256
+
2. Deploy your branch to CODE
257
+
258
+
3. Manually run the [🧪 AB testing CI (CODE)](https://github.com/guardian/dotcom-rendering/actions/workflows/ab-testing-ci-code.yml) worfklow using your branch. This deploys the test config to Fastly CODE.
259
+
260
+
The 3rd step is crucial as Fastly buckets users into tests/cohorts and returns your A/B test participations as response headers.
261
+
262
+
### Forcing yourself into a test on PROD/CODE
263
263
264
264
Use the opt-in and opt-out URL fragments to force yourself into or out of a test.
265
265
@@ -269,5 +269,7 @@ When opted-out, you'll return to random/mvt based assignment.
269
269
270
270
These links are also in the [frontend admin](https://frontend.gutools.co.uk/analytics/ab-testing).
0 commit comments