How to Analyze A/B Test Results in Matomo Analytics with Optimal UX Integration
Feb 3, 2025
Introduction
Looking for a privacy-focused way to analyze your A/B tests? Optimal UX’s integration with Matomo lets you track experiment results while maintaining full data ownership. This integration enables teams to analyze A/B test data alongside other analytics metrics in Matomo’s comprehensive dashboard.
Why Use Matomo for A/B Test Analysis?
- Own your testing data completely
- Integrate A/B testing data with your existing Matomo metrics
Step-by-Step Integration Guide
Enable the Integration
- Access your Optimal UX dashboard
- Navigate to Settings > Integrations
- Find the Matomo integration
- Enable the integration toggle
Understanding Data Flow
When enabled, Optimal UX automatically sends experiment participation data to Matomo using the A/B Testing API:
- Events are tracked using Matomo’s JavaScript tracking code
- The integration uses the
AbTesting::enterevent. Example: For experiment “xyz123” and variant “Variant B”, the event would be: _paq.push([‘AbTesting::enter’, { experiment: ‘xyz123’, variation: ‘Variant B’ }]
Security Note: Optimal UX uses experiment slugs instead of full experiment names to ensure data security.
Using Experiment Data in Matomo
Accessing Experiment Results
- Open your Matomo dashboard
- Navigate to “A/B Tests” section
- You don’t need to create a new A/B test there, it will be created automatically as soon as it is seen by a first user.
- View detailed variant performance
Analysis Capabilities
- Compare conversion rates between variants
- Track custom goals by variant
- Analyze user flow differences
- Monitor engagement metrics
- Create custom reports for experiments
Conclusion
The integration between Optimal UX and Matomo Analytics provides a privacy-focused solution for A/B test analysis. By leveraging Matomo’s comprehensive analytics capabilities, you can make data-driven decisions while maintaining complete control over your testing data.
