Skip to content
Docs
API reference Go to dashboard

Analytics

Leads, new conversations, handoffs and tickets show up as events in your analytics tool.

On this page

Google Analytics 4

1
In Google Analytics open Admin, Data streams, your web stream, and copy the measurement ID (G-…).
2
Create a secret under “Measurement Protocol API secrets” in the web stream.
3
In the dashboard open Integrations and click Google Analytics.
4
Enter both. Alpheris validates them with Google.

What happens: Events: generate_lead, alpheris_chat_start, alpheris_handoff, alpheris_ticket.

Segment

1
Add an “HTTP API” source in Segment and copy the write key.
2
In the dashboard open Integrations and click Segment.
3
Paste the key.

What happens: The same four events as for Google Analytics.

Mixpanel

1
In Mixpanel open Project settings and copy the project token.
2
In the dashboard open Integrations and click Mixpanel.
3
Paste the token.

What happens: The same four events as for Google Analytics.

PostHog

1
In PostHog open Project settings and copy the project API key (phc_…).
2
In the dashboard open Integrations and click PostHog.
3
Enter key and region (eu or us).

What happens: The same four events as for Google Analytics.

Plausible

1
In Plausible create goals (custom events) named generate_lead, alpheris_chat_start, alpheris_handoff and alpheris_ticket.
2
In the dashboard open Integrations and click Plausible.
3
Enter the domain exactly as in Plausible (for self-hosting also the URL).

What happens: The events show up as goals.

Matomo

1
In Matomo copy the site ID and create an auth token under Personal, Security.
2
In the dashboard open Integrations and click Matomo.
3
Enter URL, site ID and token.

What happens: Events with the category “Alpheris”.

Amplitude

1
In Amplitude open Project settings and copy the API key.
2
In the dashboard open Integrations and click Amplitude.
3
Enter key and region (eu or us).

What happens: The same four events as for Google Analytics.