API Reference / API Methods / Personalization

Personalization

List of methods

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\RecommendationClient;

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

$strategy = $recommendation->getPersonalizationStrategy();

Did you find this page helpful?