Yes. You can activate a variation on the server and then force the same variation in the browser. When running experiments server-side:

  • Your backend selects and persists the variation.
  • You must send the selected variation to Matomo using AbTesting::enter.
  • Any client-side changes must respect the same variation.

Matomo does not synchronise experiment configurations with your backend. The server controls variation selection and targeting logic.

For implementation details, see the developer guide on running experiments server-side.

Previous FAQ: How to run server-side A/B tests with Matomo