Integrations

PostHog

Capture short-link clicks in PostHog Cloud or a self-hosted instance.

The PostHog integration captures every recorded Letlink click as a link_clicked event. It works with PostHog Cloud (US or EU) and with self-hosted instances — you supply the instance URL. Available on Growth and Ultimate.

Connect it

  1. In PostHog, open Settings → Project and copy the Project API key (it starts with phc_).
  2. Note the instance URL: https://us.i.posthog.com, https://eu.i.posthog.com, or your own hostname.
  3. Open Integrations → PostHog in Letlink, paste both values, and save.
  4. Press Send test event and check the Activity view.

Event shape

Event link_clicked, distinct_id from the visitor device fingerprint, and properties including $current_url (the short URL), $referrer, $browser, $os, $ip plus the link properties. Because distinct_id is stable per device, clicks join up with the rest of that person's activity if you also run the PostHog snippet on the destination.

Still have questions?

We're here to help. Reach out and we'll get back to you as soon as we can.