A
A
Andrey Okhotnikov2021-01-26 10:59:35
Google Analytics
Andrey Okhotnikov, 2021-01-26 10:59:35

A/B testing with React?

It is required to implement a / b testing through Google experiments, a site on react. As I understand it, in Google experiments it is required to add a parameter to all URLs on the site, how in this case to implement site navigation? To add a parameter to each url, it turns out you will need to do a redirect, and this will lead to a page reload, and every time you click on the link there will be a reload - this is not at all what we need.
Or how do A/B tests work on one-page sites?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2021-01-26
@DanArst

As I understand it, in Google experiments it is required to add a parameter to all URLs on the site, how in this case to implement site navigation?

If you have a one-pager, then what urls on the site are you talking about?
You need to go to Google Optimize and create an account. Further, everything in general terms looks like this:
  • Create a copy of the page for testing
  • Change the necessary elements on this page (the color of the buttons, the location of the sections, the pictures in the slider, etc.)
  • Specify in the settings to whom to show this version of the page: random visitors or from a specific RK
  • After running the experiment, Google will alternate showing the original page and the modified page to users in random order.
  • Using Google Analytics, performance metrics are collected, and then the service generates reports to evaluate the results of the experiment.

A lot of articles have been written on the Internet about a / b testing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question