Algolia Insights

Algolia Insights

Send event data to Algolia Insights

The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.

With the Algolia Insights destination, you can send Insights Events. It's required to send Insight Events to use these Algolia features:

  • Click and conversion analytics
  • A/B Testing
  • AI Re-Ranking
  • Personalization
  • Algolia Recommend

Installation

  1. From the Destinations catalog page in the PostHog App, click Add Destination.
  2. Search for Algolia in the Destinations Data pipelines and select the Algolia Insights destination.
  3. Choose which Source should send data to the Algolia destination.
  4. Sign in to the Algolia dashboard and retrieve your App ID and API Key for the application you'd like to connect. See Getting your Algolia credentials below for details on where to get these values.
  5. Enter the App ID and API Key in the Algolia destination settings in PostHog.

Configuration

OptionDescription
appId
Type: string
Required: True

Your Algolia Application ID.

apiKey
Type: string
Required: True

An API key which has write permissions to the Algolia Insights API

Debug Mode
Type: boolean
Required: False

Will log configuration and request details

Using our REST API you can create this destination like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "destination",
"name": "Algolia Insights",
"inputs": {
"appId": {
"value": ""
},
"apiKey": {
"value": ""
}
},
"enabled": true,
"template_id": "segment-actions-algolia-insights"
}'

FAQ

Is the source code for this destination available?

Yes. The source code is available on GitHub.

Who maintains this?

This is maintained by Segment. If you have issues with it not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback. Please tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum.

Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.