The MongoDB connector can link your mongodb
tables to PostHog.
To link MongoDB:
- Go to the Data pipeline page and the sources tab in PostHog
- Click New source and select MongoDB
- Enter your mongodb connection string
- Click Link
Once the syncs are complete, you can start using MongoDB data in PostHog.
Note: MongoDB data is unstructured so the returned columns are an
_id
field and adata
column that contain the entire document contents. Data fields can be selected with dot notation (e.g.data.field1
)