Configure goals for an A/B test

Configure goals for an A/B test



Goals define how the success of your A/B test is measured. Once visitors are exposed to different variations, PageSense tracks the actions associated with your selected goals and compares the performance of each variation. Choosing the right goal helps you determine whether a variation successfully influences visitor behavior and achieves the intended outcome. Depending on your experiment objective, you can track clicks, page visits, revenue, engagement, custom events, and more.

Configure a goal

To configure goals for your experiment:


1. Navigate to the Goals step in the A/B testing workflow.
2. Click Add Goal.
3. Select the goal type that aligns with your experiment objective.


4. Configure the goal settings.
5. Save the goal configuration.
6. Proceed to the next step.

The selected goal will be used to measure and compare the performance of all variations in the experiment.

Goal types

PageSense provides multiple goal types to help you measure different outcomes and identify the best-performing variation. 
Element click goal
  1. Use this goal when testing whether changes to a specific element increase visitor interactions.
  2. PageSense tracks the number of clicks received by the selected element across all variations and helps determine which version generates the highest engagement.
Example:
You are testing two versions of a pricing page:
  • Variation A uses a green "Start Free Trial" button.
  • Variation B uses a blue "Get Started" button.
By tracking button clicks, you can determine which variation encourages more visitors to take action.

Link click goal
  1. Use this goal when testing how effectively a variation encourages visitors to navigate to another page.
  2. This goal is useful when evaluating content placement, navigation structures, or link visibility.
Example
You create two homepage variations:
  • Variation A places the "View Pricing" link in the navigation menu.
  • Variation B places the same link within the hero section.
Tracking link clicks helps identify which placement drives more visitors to the pricing page.

Pageviews
  1. Use this goal when the success of the experiment depends on visitors reaching a specific destination page.
  2. PageSense tracks the number of visitors from each variation who successfully land on the target URL.
Example:
  1. You test two versions of a lead generation form.
  2. The goal is to determine which variation drives more visitors to the thank-you page after form submission.

Revenue goal
  1. Use this goal when the primary objective of the experiment is to increase revenue.
  2. PageSense attributes revenue to each variation and compares their overall business impact.
Example:
You test two product page layouts:
  • Variation A displays customer reviews above the purchase section.
  • Variation B displays customer reviews below the purchase section.
Revenue tracking helps determine which layout generates more sales and higher revenue.

Time spent on page
  1. Use this goal when you want to evaluate whether a variation encourages visitors to spend more time consuming content.
  2. This goal is particularly useful when testing content-heavy pages or educational resources.
Example:
You test two versions of a product education page:
  • Variation A uses long-form content.
  • Variation B organizes the content into expandable sections.
Time-on-page tracking helps determine which variation keeps visitors engaged longer.

Engagements
  1. Use this goal when you want to measure overall visitor interaction across the webpage.
  2. Instead of focusing on a single action, PageSense evaluates how actively visitors interact with page elements and links.
Example:
You redesign a landing page and create two variations:
  • Variation A emphasizes product features.
  • Variation B emphasizes customer testimonials.
Engagement tracking helps determine which variation generates more overall visitor interaction.

Custom event
  1. Use this goal when the action you want to measure is specific to your business or application.
  2. Custom events allow you to track actions beyond standard clicks and page visits.
Example:
  1. You test two onboarding experiences for a software product.
  2. The goal is to determine which variation results in more visitors completing a product walkthrough event.
PageSense tracks the custom event and compares performance across variations.

Choose the right goal  

The goal you select should align with the primary objective of the experiment.

Objective

Recommended goal

Increase clicks on a specific button or element

Element clicks

Improve navigation to another page

Link clicks

Drive visitors to a destination page

Pageviews

Increase purchases or business revenue

Revenue

Improve content consumption and engagement

Time spent on page

Measure overall interaction levels

Engagements

Track business-specific actions

Custom event

Best practices

  • Define a clear success metric before launching the experiment.
  • Select a goal that directly supports your testing objective.
  • Focus on meaningful visitor actions rather than vanity metrics.
  • Use revenue goals when business impact is more important than click volume.
  • Verify custom event configurations before starting the experiment.
  • Allow sufficient traffic and conversions before evaluating results.
  • Avoid changing goals while the experiment is running.




We’ve designed this documentation to guide you every step of the way. If you need further assistance or have any questions, don’t hesitate to contact us at support@zohopagesense.com - we’re always here to help!