Write a second version of your top section, let visitors see one or the other, and read the clicks for each in the editor.
Request accessA test applies to the top section of a page, the hero. Version A is what you already have. Version B is a full second copy where you can change the headline, the subheading, the button, or the image.
Each visitor who has allowed analytics cookies is given version A or B by chance, with equal odds, and keeps seeing the same version on return visits for about six months, as long as they keep the cookie. Visitors who have not allowed analytics cookies see version A and are not counted.
The editor shows, for each version, how many visitors were shown it, how many of them clicked the main button, and the rate. Each visitor is counted once per version. The version ahead is marked as leading.
Version B follows the same show, hide, and spacing settings for phones and tablets as the section it replaces.
Select the hero, open the advanced section, and choose to start an A/B test. A second version of the section opens for you to edit as version B. Edit it, then publish the page.
A view is counted the first time a visitor who has allowed analytics loads the published page and is given a version. Reloads do not add to it. Visitors who have not allowed analytics, previews in the editor, and shared draft links never count.
A click is counted the first time a visitor with a version clicks the section's main button. Clicks from visitors who have not allowed analytics are not counted. The click is still followed as normal.
Reopen the section in the editor to see the counts. The numbers refresh when you open the panel, not live. To end the test, delete version B. That removes it, so if B won, copy its words into the main section first.
The panel shows views, clicks, and rates. It does not calculate whether a gap is big enough to trust, so wait for a meaningful number of visitors before you decide.
Tests work on a hero placed directly on a page, not inside another section. A hero that comes from a reusable component cannot be tested, and there are two versions, not more.
To keep a visitor on one version, the test sets a first-party cookie, but only after the visitor allows the analytics category in your cookie banner. Until then, and if they later withdraw, they see version A, no cookie is set, and nothing is counted. This means the test needs the cookie banner turned on for the site, and the results reflect only visitors who allowed analytics, who may behave differently from those who did not. A visitor who allows analytics sees the test from their next page load. List both cookies in your privacy policy: me_ab_ followed by the section id (the version, up to 180 days) and te_consent_analytics (the yes or no analytics choice, up to 180 days). The choice cookie is shared by every page on the same host. This is not legal advice.
The only goal measured is a click on the section's main button. Form sends and purchases are not tied to a version.
If a site has several languages, a translation you type for the headline or button replaces that text in both versions. Run the test in your default language, or on a page you have not translated.
No. The version is chosen on the server before the page is sent. A visitor who allows analytics on this page load sees their version from the next page load, not instantly.
No. Tests compare two versions of the hero on one page.
No. The panel shows counts per version, not individual visitors.