Anticode

Send Anticode website forms to PostHog

A “form submitted” event in PostHog for every form, without what was typed. PostHog gets bookings, enquiries and sign-ups from every site in your Anticode account once you paste 2 values from PostHog into Connectors. This page is the full reference for the PostHog integration.

Updated · By the Anticode team

What the PostHog integration does

PostHog is open-source product analytics. Anticode records a “form submitted” event for each form, so you can count conversions next to your other events without anything the visitor typed reaching PostHog. Events go to PostHog’s capture endpoint with a random distinct id and person profiles turned off, so each form is counted without creating a person. You can build insights and funnels from the “form submitted” event alongside events from your own app.

A “form submitted” event in PostHog for every form, without what was typed. PostHog only learns that a form was sent, and on which PostHog-tracked site; the visitor’s name, email and message never reach PostHog. PostHog is a service of PostHog Inc..

  • An event with the site and the kind of form
  • Nothing a visitor typed is sent
  • No person profile is made
The PostHog connector at a glance
PostHog
What PostHog receivesAn event per form, nothing typed
Run byPostHog Inc.
Sent toPostHog's API
Details to pasteProject API key, Region

When to use PostHog

Use it to measure form conversions in PostHog.

What you see in PostHog

An event with the site and form kind, a random id and no person profile. The event appears in PostHog’s activity view within moments and can be added to insights, dashboards and funnels like any other event. Because person profiles are off for these events, they don’t add to PostHog’s person count.

Set up PostHog step by step

  1. In PostHog: In PostHog, open Project settings and copy the project API key. Write eu if your project is on PostHog's EU cloud.
  2. In Anticode: Dashboard › Connectors › PostHog (under Analytics).
  3. Paste project API key and region, then Save.
  4. Test sends one sample to PostHog.

The details PostHog needs

Project API key
Looks like phc_…. That isn't a PostHog project API key (it starts with phc_). Stored sealed and never shown again.
Region
Looks like us or eu. Optional.

Pick the us or eu region your project lives in.

Troubleshooting PostHog

"PostHog answered 401" or "403"
PostHog refused the project API key. In PostHog, make a new one; paste that into Anticode, then choose Test.
"PostHog answered 404"
The PostHog address is wrong or was deleted in PostHog. Copy it again.

Good to know about PostHog

PostHog projects live in either the US or the EU cloud, and their project API keys (starting with phc_) only work in their own region, so pick the matching region in Anticode. Self-hosted PostHog isn’t supported by this connector, since it calls PostHog’s cloud ingestion hosts. Events count toward your PostHog event volume like any other, which for most sites is small: one event per form. PostHog’s data management page lets you mark “form submitted” as a verified event and add a note that Anticode sends it server side, so teammates know where it comes from.

Ways people use PostHog with Anticode

  • A startup counts waitlist sign-ups from its Anticode launch page in the same PostHog project as its app.
  • A marketer compares booking requests across several sites by the site property.
  • A product team charts newsletter sign-ups week by week.

PostHog security, privacy and limits

  • Requests go only to PostHog's API.
  • Your PostHog privacy-policy line: "When you send a form, our PostHog analytics (PostHog Inc.) records that a form was sent on this site, without anything you typed in it."
  • Sealing, delivery and plan limits: how form connectors work.

Questions people ask

Is anything personal sent?

No: only the site and the form's kind.

What does Test do?

It sends one sample event.

Does it set cookies on the site?

No. The event is sent from Anticode’s server; published pages run no scripts.

Can I see who sent the form?

No, by design. Use another connector, or the inbox, for the submission itself.

Can I group events by site in PostHog?

Yes. Each event carries the site property, so a breakdown by site shows each Anticode site separately.