In many cases this will be possible. This plugin was built to be usable with most A/B testing frameworks for JavaScript, Ruby, Java, Android, iOS, Python… Some popular A/B test libraries are for example PlanOut by Facebook (Java, PHP, JavaScript, Go, Ruby), phpab (PHP) or Vanity (Ruby).

When you use a third-party A/B testing framework, all you need to do is letting Matomo (Piwik) know which variation was chosen by tracking an event or by specifying a JavaScript variable in your HTML. Read more about the different options to run your experiments.

Previous FAQ: Can I perform redirects to compare entirely different pages or layouts?