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
- In PostHog, open Settings → Project and copy the Project API key (it starts with
phc_). - Note the instance URL:
https://us.i.posthog.com,https://eu.i.posthog.com, or your own hostname. - Open Integrations → PostHog in Letlink, paste both values, and save.
- 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.