WP Search with Algolia Pro 1.8.0 is available now! This release adds four features our WooCommerce and content-heavy customers have asked for: a way to keep specific taxonomies out of your Algolia records, a per-post-type re-index button on the Field Mapper, Algolia Insights event tracking for WooCommerce stores, and reliable product sync for stores that update products through the REST API or bulk imports. It also includes several fixes.
There are no breaking changes in this release. 1.8.0 requires WP Search with Algolia 3.0 or newer and PHP 8.1 or newer, the same as 1.7.2.
Exclude taxonomies from your index
You can now keep any public taxonomy out of Algolia without writing a filter. Go to Algolia → Exclude Taxonomies, tick the taxonomies you do not want indexed, and save.
When a taxonomy is excluded:
- Its terms are removed from the taxonomies and taxonomies_hierarchical attributes on every post record.
- Its facets are removed from the index settings, so they no longer appear in InstantSearch refinement lists.
- Its terms index is no longer registered, so it is not pushed to Algolia on the next re-index.
Existing indices in Algolia are not deleted. After changing exclusions, re-index your posts and push your index settings so Algolia reflects the change. The screen reminds you of this each time the selection changes.
This is useful for internal taxonomies such as WooCommerce product visibility or shipping classes, and for sites with large tag clouds that add noise to search results. Exclusions are stored per site, so on a multisite network each site keeps its own list.
Re-index a single post type from the Field Mapper
The Field Mapper page now has a “Re-index [Post Type]” button next to Save and Clear. It re-indexes only the post type you are currently mapping, so a change to product field mappings no longer means a full site re-index.
The button:
- Pushes the updated index settings first, so new facets from your mapping take effect.
- Re-indexes that post type in batches, using the same pagination as the site-wide re-index in the free plugin, and shows live progress.
- Updates every enabled index that includes the post type, including the searchable posts index, without clearing records for other post types.
If no enabled index includes the post type, the button tells you so instead of running.
WooCommerce event tracking for Algolia Insights
If you use Algolia Insights, 1.8.0 can send your store’s shopping events to it. Algolia uses these events for click and conversion analytics, personalization, and AI re-ranking. Turn on “Enable Insights” in the free plugin, then open the new Algolia → Events tab and choose which events to send.
Events sent from the browser:
- Product Clicked, when a shopper opens a product from a listing or from search results. Clicks from Algolia search results carry the query ID, so Algolia can attribute them to the search.
- Product Added to Cart and Product Removed from Cart, including quantity, price and currency. This works with the classic WooCommerce templates and with the block-based product grid and cart.
Events sent from the server, so they fire even when the shopper is not in a browser session (admin order changes, payment gateway callbacks):
- Checkout Completed, once per order, when the order reaches processing or completed.
- Checkout Cancelled, when an order is cancelled.
- Coupon Published, Coupon Used and Coupon Expired. Expired coupons are picked up by an hourly check.
You can choose which product fields are attached to each event (title, ID, SKU, price, sale price, categories). All events go to your searchable posts index. A master switch on the Events tab turns everything off at once.
Product sync for REST API updates and bulk imports
Stores that manage products outside the WordPress admin, through the WooCommerce REST API, an ERP or PIM connector, WP-CLI or the bulk importer, could end up with Algolia records that lag behind the catalog. 1.8.0 adds an optional product sync that fixes this.
Turn it on under Algolia → WooCommerce → “Sync on WooCommerce product changes”. It is off by default. When enabled:
- Every product create or update is queued through Action Scheduler and pushed to Algolia about 30 seconds later, regardless of where the change came from.
- Rapid changes to the same product are collapsed into a single sync, so a bulk import of 500 products queues 500 jobs, not one per field.
- Syncs run in the background, so imports and API calls are not slowed down by Algolia requests.
Trashed and deleted products are already removed by the free plugin, so nothing changes there. Algolia errors during a sync are logged and do not interrupt the import.
Fixes and improvements
- Re-index errors are now shown in the admin alert. When a re-index request fails, you see the actual message from Algolia or WordPress instead of a generic “something went wrong”, so problems such as an invalid API key or a blocked request are visible without opening the browser console.
- Network-wide index requests on multisite now verify a nonce and super admin access.
- Algolia errors during WooCommerce order processing and product sync are logged instead of causing a fatal error.
- Fixed a wrong index name that stopped client-side WooCommerce events from being recorded.
- Fixed the expired-coupon check, which was never scheduled.
- Updated development dependencies and added a composer run lint command for contributors.
Before you update
- Make sure WP Search with Algolia (free) is on 3.0 or newer and your site runs PHP 8.1 or newer.
- Update WP Search with Algolia Pro to 1.8.0 from Plugins → Installed Plugins, or download it from your Pluginize account.
- If you enable Exclude Taxonomies or change field mappings, re-index the affected post types and push index settings afterwards.
- If you enable WooCommerce event tracking, confirm “Enable Insights” is on in the free plugin and check the Events tab in the Algolia dashboard after a test order.
- If you enable product sync, confirm Action Scheduler is running (WooCommerce → Status → Scheduled Actions) so queued syncs are processed.
Tell us how it goes
1.8.0 is one of the biggest Pro releases we’ve shipped, and nearly every line of it started as a customer request. Store owners told us their Algolia records drifted whenever products changed outside wp-admin. Teams told us one field mapping change shouldn’t mean re-indexing an entire site. Merchants asked how to get Algolia’s click and conversion data without hiring someone to wire it up by hand. Each of those is now a setting or a button.
If you run search on a WooCommerce store, turn on the Insights events first. They’re what Algolia’s personalization and AI re-ranking learn from, and until this release, getting them flowing took custom development.
Our roadmap is built from the tickets you send, and this release is the proof! Questions or feedback? Open a ticket through the Pluginize contact form.
New to Pro?
WP Search with Algolia Pro is the paid add-on to the free WP Search with Algolia plugin. The free plugin connects your WordPress site to Algolia. Pro gives you control over what gets indexed and how. You get a Field Mapper for custom fields, an Index Health page, multisite controls, and deep WooCommerce support, including Algolia Insights events and revenue tracking. It’s built and supported by WebDevStudios, the team behind the free plugin. If you’re running the free version and wishing it did more, see what Pro adds on Pluginize.