A/B testing API client methods

This is documentation for v3 of the PHP API clients, which is not the latest version. To see the documentation for the latest version, see PHP v4.

This is documentation for v2 of the Ruby API clients, which is not the latest version. To see the documentation for the latest version, see Ruby v3.

This is documentation for v4 of the JavaScript API clients, which is not the latest version. To see the documentation for the latest version, see JavaScript v5.

This is documentation for v3 of the Python API clients, which is not the latest version. To see the documentation for the latest version, see Python v4.

This is documentation for v8 of the Swift API clients, which is not the latest version. To see the documentation for the latest version, see Swift v9.

This is documentation for v2 of the Kotlin API clients, which is not the latest version. To see the documentation for the latest version, see Kotlin v3.

This is documentation for v6 of the C# API clients, which is not the latest version. To see the documentation for the latest version, see C# v7.

This is documentation for v3 of the Java API clients, which is not the latest version. To see the documentation for the latest version, see Java v4.

This is documentation for v3 of the Go API clients, which is not the latest version. To see the documentation for the latest version, see Go v4.

This is documentation for v1 of the Scala API clients, which is not the latest version. To see the documentation for the latest version, see Scala v2.

List of methods

A/B testing region

Your Analytics data is stored and processed in a specific region: either in Europe (Germany), or in the United States. When initializing the Analytics client, you need to select your analytics region:

1
2
3
4
5
6
7
8
use Algolia\AlgoliaSearch\AnalyticsClient;

// You need an API key with `editSettings` permissions
$analytics = AnalyticsClient::create(
    'YourApplicationID',
    'YourAPIKey',
    'de' // Default: "us"
);

You can check the region for your account in the Algolia dashboard.

Did you find this page helpful?