The Track Goal API is used to record conversion events for a Full Stack A/B test experiment. A goal represents a meaningful action completed by a user, such as a signup, purchase, or feature usage.
Goal tracking helps PageSense measure experiment performance and determine which variation is driving better outcomes.
By tracking goals, you can:
Measure conversions for Full Stack experiments
Compare performance across experiment variations
Identify which variation drives better results
Generate accurate experiment reports in PageSense
You should track a goal:
After the experiment has been activated for the user
When the user completes the action defined as a goal
At the exact point where the conversion occurs
Goal tracking should not be triggered before experiment activation.
User attributes can be passed while tracking a goal to ensure audience conditions are evaluated correctly and data is recorded accurately.
KOTLIN
JAVA
If user attributes are not available, you can track a goal using only the experiment name, user ID, and goal name.
Only experiments targeting All Visitors will qualify in this case.
JAVA & KOTLIN
Goals are tracked only if the user qualifies for the experiment
If the user is not part of the experiment, the goal call is ignored
Tracking the same goal multiple times may result in duplicate conversions
Always ensure the goal name matches the one configured in PageSense
This method does not return success or failure. It silently ignores calls if the user does not qualify for the experiment.
Track goals immediately after the conversion action
Use stable user identifiers
Avoid tracking goals on app launch or screen load
Keep goal names consistent and meaningful
Once a goal is tracked:
The conversion is recorded against the assigned variation
Data is sent to PageSense for reporting and analysis
Experiment reports update with conversion metrics
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
All-in-one knowledge management and training platform for your employees and customers.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.