WPSolr logo
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
Expand All Collapse All
  • What is WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Weaviate
    • Install Opensearch
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure search
      • Getting started with search
      • Getting started with Ajax (live) search
      • Getting started with facets
      • 0. Connect your indexes
        • Create a Google Retail search index
        • Create an Elasticsearch index
          • Generate a test Elasticsearch index
          • Create an Elastic Elasticsearch index
          • Create an Elasticsearch index
          • Create a Qbox Elasticsearch index
          • Create an ElasticPress Elasticsearch index
          • Create an Aiven Elasticsearch or OpenSearch index
          • Create a Bonsai Elasticsearch index
          • Create an Amazon AWS Elasticsearch index
          • Create an ObjectRocket Elasticsearch index
          • Create a Cloudways Elasticsearch or Opensearch index
          • Create an Alibaba Cloud Elasticsearch index
          • Create a Compose Elasticsearch index
          • Connect to an Elasticsearch index
        • Create an Apache Solr index
          • Generate a test Apache Solr index
          • Create an Apache Solr index
          • Create a SearchStax SolrCloud index
          • Create an Opensolr Solr index
          • Connect to an Apache Solr index
        • Create an Opensearch index
          • Create a WPSOLR Hosting OpenSearch index
          • Create an Amazon AWS OpenSearch index
        • Create a Weaviate index
          • Weaviate with Google PaLM API
          • Weaviate with GPT4All
          • Weaviate with sentence transformers
          • Weaviate with CLIP text-to-image
          • Weaviate with HuggingFace Endpoints API
          • Weaviate with OpenAI GPT API
          • Weaviate with Cohere Multilingual API
          • Weaviate with Question Answering transformers
          • Weaviate with Hybrid search
          • Weaviate with Reranker - Cohere
          • Weaviate with Reranker - Transformers (cross-encoders)
        • Create an Algolia index
      • 1. Activate extensions (Add-ons)
        • bbPress add-on
        • YITH WooCommerce Ajax Search add-on
        • SEO add-ons
          • Yoast SEO add-on
          • All in One SEO add-on
        • Listable add-on
        • ACF add-on
        • Advanced Scoring add-on
        • Cron Scheduling add-on
        • Theme add-on
          • Filters layouts
            • Radiobox & Checkbox Layout
            • Numeric Range Layout
            • Colour Picker Layout
            • Date Picker (Flatpickr) Layout
            • Range Slider Layout
          • Add Ajax to the current Theme
          • Collapse taxonomy hierarchies
          • Custom Facets CSS
        • WPML add-on
        • Premium add-on
          • Manage more than one Elasticsearch or Solr index
        • PDF Embedder add-on
        • Geolocation add-on
        • AI Natural Language APIs add-on
          • Amazon Comprehend
          • Google Natural Language
          • Aylien Text Analysis
          • MeaningCloud
          • Qwam Text Analytics
        • Toolset Types add-on
        • AI Image and OCR APIs add-on
          • Google Vision
          • Amazon Rekognition
        • Embed Any Document add-on
        • MyListing add-on
        • Polylang add-on
        • WooCommerce add-on
        • Cross-domain federated search add-on
        • Directory+ add-on
        • Toolset Views add-on
        • Listify add-on
        • Jobify add-on
        • Query Monitor add-on
      • 2. Define your search
        • 2.3 Boosts
        • 2.3 Suggestions (Ajax search)
        • 2.1 Search
        • 2.2 Data
      • 3. Index your data
    • Configure recommendations
      • Algolia - Recommend and Personalized search
      • Recombee - Recommendations
      • Google Retail - AI Recommendations and Personalized search
      • Amazon Personalize
    • Configure WPSOLR Parsing and Chunking
    • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Quick start

Algolia - Recommend and Personalized search

4781 views 4 December 4, 2023 Updated on February 14, 2024

Algolia Recommend and Personalized search require a WPSOLR Enterprise license.

This documentation describe the configuration of your indexes for Algolia Recommend and Personalized search.

If you wish to learn how personalization improves your website and how it works, you could check out our general guide on recommendations.

Table of Contents

Toggle
  • Algolia recommend and Personalize
  • Activate your first-party cookie
  • Activate user events
  • Send historical user events
  • Train AI models
  • Create WPSOLR Recommendations
  • Check events sent to Algolia
  • Setup personalized search
  • Analytics dashboard

Algolia recommend and Personalize

Algolia search is already part of WPSOLR Pro. With WPSOLR Enterprise, we unlock some of the incredible features supported by the Algolia Premium plan:

1) NeuralSearch (requires an Algolia Elevate plan)
2) Analytics
3) A/B Testing
4) Dynamic Re-Ranking
5) AI Synonyms
6) Query Suggestions
7) Query Categorization
8) Recommend
9) Personalization

Activate your first-party cookie

Enabling the first-party cookie will generate a unique id to visitors, anonymous or logged in. The AI models will be able to follow this id across the many visits a visitor can make to your site before converting.

Image wpsolr-enterprise-settings-search-first-party-cookie-cookie.png of Algolia - Recommend and Personalized search
wpsolr enterprise settings search first party cookie
  1. Select the search tab
  2. Select the search menu
  3. Select a view, default or custom
  4. Select your Algolia index
  5. Select “Use a visitor cookie”

 

Activate user events

Collecting user events is done automatically for you by WPSOLR Enterprise. No need to rely on tedious external tools integrations like Google Analytics or Google Tags.

 

Image wpsolr-enterprise-settings-search-send-events.png of Algolia - Recommend and Personalized search

  1. Select “Capture visitor interactions” to send visitor history in real-time with our custom Javascript code
  2. If necessary, set the CSS selector of your search page results here. This will enable to detect visitors clicking on Algolia search results even as results are displayed by your theme. Notice that here you should pick a CSS for all Algolia produced archives: search results, shop results, categories, tags, authors, year, month, day, post types.
  3. Choose if click events should be sent several times if not voluntarily triggered
  4. During the setup phase, you can show events sent in the Javascript console of your navigator

 

Send historical user events

As mentioned in the general presentation of recommendations, sending user events is crucial to get increase your current conversion rates with Algolia personalized search and Algolia recommend.

The first step id to configure your backend to send historical events, like purchase orders and rating stars. Fortunately, it is easy with WPSOLR Enterprise.

Image wpsolr-enterprise-settings-index-events.png of Algolia - Recommend and Personalized search
wpsolr enterprise settings index events
  1. Select search tab
  2. Select data menu
  3. Select your previously created Algolia index
  4. Select your events in the event section. For instance the WooCommerce legacy order events, or the new HPOS orders
  5. Select the status of the events to be sent
  6. Also select the post types that will be later selected for display in your recommendations

 

Train AI models

Algolia Recommend provides four AI models to build recommendations upon.

Before using a model within WPSOLR to display recommendations, you need to:

  • Login to Algolia
  • Select the application where you created your Algolia index
  • Click on the “Recommend” menu (left menu with a red bulb)
  • Click on the “Models” menu
  • Click on one AI model
  • Configure ans train the model:
Image wpsolr-enterprise-algolia-train-ai-model.png of Algolia - Recommend and Personalized search
wpsolr enterprise algolia train an ai model

1. Select the Algolia index configured in WPSOLR and indexed with your catalog and events
2. Algolia will warn you if you have enough events collected to start the model training
3. Deduplicate recommendations
4. Start the training

  • Wait a few hours to few days until the model is marked as trained

 

Below is a screenshot of 3 models trained, one failed due to a lack of events.

Image wpsolr-algolia-recommend-dashboard.png of Algolia - Recommend and Personalized search
Algolia Recommend dashboard

 

Create WPSOLR Recommendations

Image wpsolr-enterprise-algolia-recommendations.png of Algolia - Recommend and Personalized search
wpsolr enterprise algolia recommendations
  1. Click the “Search” tab
  2. Click the “Recommendations” tab
  3. Select a view configured with an Algolia index
  4. After saving your recommendations, you can pase this shortcode anywhere in your content: home page, product detail page, blog post page…
  5. Choose a model among the 4 models provided by Algolia. The model needs to have been configured and trained first in your Algolia’s account dasboard
  6. Choose a layout to display your recommendations as you wish. You can also build your own layout, or hire us to build it for you
    Slider 1 recommendation template
    Slider 1 recommendation template
    Slider 1 recommendation template (Mobile)
    Slider 1 recommendation template (Mobile)
    Masonry media gallery 1 recommendation template
    Masonry media gallery 1 recommendation template
    Masonry media gallery 1 recommendation template (mobile)
    Masonry media gallery 1 recommendation template (mobile)
    Vertical list 1 recommendation template
    Vertical list 1 recommendation template
    Vertical list 1 recommendation template (mobile)
    Vertical list 1 recommendation template (mobile)
    Slider 2 recommendation template
    Slider 2 recommendation template
    Slider 2 recommendation template (mobile)
    Slider 2 recommendation template (mobile)
    Slider 3 recommendation template (mobile)
    Slider 3 recommendation template (mobile)
    Slider 3 recommendation template
    Slider 3 recommendation template
    Single-column media gallery 1 recommendation template
    Single-column media gallery 1 recommendation template
    Single-column media gallery 1 recommendation template (mobile)
    Single-column media gallery 1 recommendation template (mobile)
  7. Number of recommendations displayed
  8. Show the description or not
  9. Size of the featured image. May not be useful, as most of the layouts take car of the image size for you
  10. Use custom CSS to tweak the layouts with minor modifications like border colors, font sizes, text colors…
  11. Select the post types you want to show in recommendations. They must have been selected in screen 2.2 and indexed
  12. select the WooCommerce features to show: star rating, product price, add to cart button

 

Notice that you can repeat this operations to add as many recommendations as you need.

 

Check events sent to Algolia

During the setup phase, you should verify that events are sent correctly. Log in your Algolia application, and navigate to the events dashboard as shown below.

Image wpsolr-enterprise-algolia-account-events.png of Algolia - Recommend and Personalized search
wpsolr enterprise algolia account events

 

Image wpsolr-enterprise-algolia-account-events-detail.png of Algolia - Recommend and Personalized search
wpsolr enterprise algolia account events detail

 

Setup personalized search

Algolia personalization is based on events. You select your events on a strategy, with a score.

For instance, do not select add to basket conversion events, or select purchase order events with a high score, to boost orders and discard add to basket.

Image wpsolr-algolia-personalization-startegy-dashboard.png of Algolia - Recommend and Personalized search
Algolia personalization strategy dashboard

 

Analytics dashboard

Collecting events will unlock advanced Algolia dashboards, as shown below.

You can see statistics on clicks, empty results, and conversions.

Image wpsolr-algolia-analytics-dashboard.png of Algolia - Recommend and Personalized search
Algolia analytics dashboard

 

Was this helpful?

4 Yes  No
Related Articles
  • Configure WPSOLR Parsing and Chunking
  • Create a WPSOLR Hosting OpenSearch index
  • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Getting started with facets
  • Getting started with Ajax (live) search
  • Getting started with search

Didn't find your answer? Contact Us

Previously
Configure recommendations
Up Next
Recombee – Recommendations

Built for brands and agencies worldwide

Adobe
Software Development
10K+ employees
Harvard University
Higher Education
798K alumni
University of Essex
Higher Education
101K alumni
Tally
Software development
501-1K employees
WebFX
Advertising Services
501-1K employees
DEFINITION 6
Advertising Services
1K-5K employees
Proto Thema
Newspaper Publishing
51-200 employees
The Fold London
Retail Apparel and Fashion
11-50 employees
Georgia-Pacific LLC
Paper and Forest Product Manufacturing
10K+ employees
Agencies, Software, Universities, Media, Newspapers, Publishers, Retails, Manufacturing, E-Commerce. And many more »

Recommended content

Powered by WPSOLR Enterprise with Recombee

Understand Where Your Store Is Losing Sales
Join our Affiliate Program!
Features
Search Hosting for WordPress
File Parsing and Chunking
Integration Hub
Search
Facets (Filters)
Search Add-ons
Recommendations
Keyword search engines
Comparison grid
Apache Solr & Solr Cloud
Elasticsearch
OpenSearch
Algolia
AI search engines
Comparison grid
PostgreSQL pgvector
Weaviate
Google Retail
Vespa.ai
OpenSearch vector
AI recommendation engines
Comparison grid
Recombee
Amazon Personalize
AI personalization engines
Comparison grid
Google Retail
Algolia
Buy and Learn
Pricing
Privacy policy
Terms and Conditions
© 2026 Eostis SARL. All Rights Reserved.
More
My licenses
Support
Documentation
Blog
Recommendations powered for you by WPSolr
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}