API Reference / API Methods / Personalization
List of methods

It’s recommended to use the Kotlin API client, which is better suited for Android development.

The region

Personalization is specific to a region. As such, you should use the region where your personalization data is stored and processed. View your analytics region.

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

$personalization = PersonalizationClient::create(
    'YourApplicationID',
    'YourAdminAPIKey',
    'eu' // defaults to 'us'
);

$strategy = $personalization->getPersonalizationStrategy();
Did you find this page helpful?