Skip to content

Latest commit

 

History

History
188 lines (173 loc) · 5.45 KB

capture-events.mdx

File metadata and controls

188 lines (173 loc) · 5.45 KB
title sidebar showTitle availability
Capturing events
Docs
true
free selfServe enterprise
full
full
full

import Tab from "components/Tab" import APISendEvent from '../integrate/send-events/_snippets/send-events-api.mdx' import WebSendEvent from '../integrate/send-events/_snippets/send-events-web.mdx' import ReactSendEvent from '../integrate/send-events/_snippets/send-events-react.mdx' import NodeSendEvent from '../integrate/send-events/_snippets/send-events-node.mdx' import PythonSendEvent from '../integrate/send-events/_snippets/send-events-python.mdx' import PHPSendEvent from '../integrate/send-events/_snippets/send-events-php.mdx' import RubySendEvent from '../integrate/send-events/_snippets/send-events-ruby.mdx' import GoSendEvent from '../integrate/send-events/_snippets/send-events-go.mdx' import ReactNativeSendEvent from '../integrate/send-events/_snippets/send-events-react-native.mdx' import AndroidSendEvent from '../integrate/send-events/_snippets/send-events-android.mdx' import IOSSendEvent from '../integrate/send-events/_snippets/send-events-ios.mdx' import JavaSendEvent from '../integrate/send-events/_snippets/send-events-java.mdx' import RustSendEvent from '../integrate/send-events/_snippets/send-events-rust.mdx' import FlutterSendEvent from '../integrate/send-events/_snippets/send-events-flutter.mdx' import ElixirSendEvent from '../integrate/send-events/_snippets/send-events-elixir.mdx'

Once your PostHog instance is up and running, the next step is to start sending events.

<Tab.Group tabs={[ 'Web', 'Node.js', 'Python', 'PHP', 'Ruby', 'Go', 'React', 'React Native', 'Android', 'iOS', 'Java', 'Rust', 'Elixir', 'Flutter', 'api']}> <Tab.List> Web Node.js Python PHP Ruby Go React React Native Android iOS Java Rust Elixir Flutter API </Tab.List> <Tab.Panels> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> </Tab.Panels> </Tab.Group>

Event ingestion

It's a priority for us that events are fully processed and saved as soon as possible. Typically, events will be usable in queries within a few minutes.

Advanced: Anonymous vs identified events

import IdentifiedVsAnonymousIntro from './_snippets/identified-vs-anonymous-intro.mdx'

How to capture anonymous events

import HowToCaptureAnonymousEventsBackend from './_snippets/how-to-capture-anonymous-backend-and-api.mdx' import HowToCaptureAnonymousEventsIOS from './_snippets/how-to-capture-anonymous-events-ios.mdx' import HowToCaptureAnonymousEventsWeb from './_snippets/how-to-capture-anonymous-events-web.mdx' import HowToCaptureAnonymousEventsAndroid from './_snippets/how-to-capture-anonymous-events-android.mdx'

<Tab.Group tabs={[ 'Web', 'Backend', 'Android', 'iOS']}> <Tab.List> Web Backend Android iOS </Tab.List> <Tab.Panels> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> </Tab.Panels> </Tab.Group>

How to capture identified events

import HowToCaptureIdentifiedEvents from './_snippets/how-to-capture-identified-events-frontend.mdx'

import HowToCaptureIdentifiedEventsBackend from './_snippets/how-to-capture-identified-events-backend.mdx'

<Tab.Group tabs={[ 'Web', 'Backend', 'Android', 'iOS']}> <Tab.List> Web Backend Android iOS </Tab.List> <Tab.Panels> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> <Tab.Panel> </Tab.Panel> </Tab.Panels> </Tab.Group>