49 Commits

Author SHA1 Message Date
Vincent (Wen Yu) Ge
9c311e34f2 Consistent debug section for SDKs where possible (#13503)
* Consistent debug section for SDKs where possible

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Call it debug mode

* Add screenshot

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-11-04 17:22:06 -05:00
Thomas Obermüller
4184e70eb1 docs(python): replace flush() with shutdown() in serverless docs (#13132) 2025-10-09 11:05:42 +02:00
Joe Martin
31326d8617 Create LLM Analytics product page (#11343)
* Base

* Update index.tsx

* Update index.tsx

* more

* Update index.tsx

* Remove beta tag from docs

* comparison

* Update index.tsx

* change

* adds testimonial

* adds testimonial

* Update index.tsx

* Update index.tsx

* adding bits

* test

* Update index.tsx

* add a draft internal case study

* retitling

* Update index.tsx

* Name change for product

* Revert "Name change for product"

This reverts commit d9904a23d680e0a94b487d217b982dffc948ed00.

* Apply suggestions from code review

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* Update src/components/Product/LLMObservability/index.tsx

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* Update src/components/Product/LLMObservability/index.tsx

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* adds image

* remove remaining conflict

* updating docs links on product page

* renaming all components to llm analytics; remove beta from <Slider> roadmap

* adds free tier

* Update index.tsx

* Update index.tsx

* Adds to homepage slide

* chore(llma): change try it out link

* Remove beta label from homepage

* Update Slides.js

* Add to all products page

* fix llm analytics pricing, calculator, icon

* screenshots and copy

* copy tweaks

* og image

* seo

* fix team name

* hide questions

* two tiny tweaks

* Update index.tsx

---------

Co-authored-by: edwinyjlim <edwinyjlim@gmail.com>
Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>
Co-authored-by: Radu Raicea <radu@raicea.com>
Co-authored-by: pawel-cebula <pawel.c@posthog.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2025-08-27 09:37:57 +00:00
Edwin Lim
7d4560012c getting started for LLM analytics (#12392)
Co-authored-by: Radu Raicea <radu@raicea.com>
Co-authored-by: Peter Kirkham <peter@posthog.com>
Co-authored-by: PostHog <hey@posthog.com>
2025-08-25 10:34:35 -04:00
Vincent (Wen Yu) Ge
9622fbe001 Stepped installation guide for error tracking (#12220)
Co-authored-by: Vincent (Wen Yu) Ge <gewenyu99@gmail.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: David Newell <david@posthog.com>
Co-authored-by: edwinyjlim <edwinyjlim@gmail.com>
Co-authored-by: Edwin Lim <edwin@posthog.com>
2025-07-30 13:33:17 -04:00
David Newell
e7d1098629 chore: document tracing headers better (#12145) 2025-07-11 09:48:06 +00:00
Vincent (Wen Yu) Ge
4408b19d7c Fix context imports (#12122) 2025-07-08 16:02:36 -04:00
Vincent (Wen Yu) Ge
4a706eb889 Revert "Refactored Sales and CS handbook navigation (#12056)" (#12068) 2025-07-03 11:01:31 -04:00
Simon Fisher
40dfa7ca68 Refactored Sales and CS handbook navigation (#12056)
* Refactored Sales and CS handbook navigation

* Update index.js

Co-authored-by: Charles Cook <charles@posthog.com>

---------

Co-authored-by: Charles Cook <charles@posthog.com>
2025-07-03 12:06:58 +01:00
Oliver Browne
9e297830c6 feat: Document 6.0.0 of the python SDK (#11920)
* document contexts and django middleware

* Update contents/docs/libraries/python/_snippets/django.md

Co-authored-by: David Newell <david@posthog.com>

* clarify decorator

* clean up

* add snippets to docs and link

* rename django to django context middleware

* context docs rework

* more docs links

* fix comments in decorator example

* update middleware docs

* bunch of updates

* update flask

* update tutorials to use right calling convention

* Update contents/docs/error-tracking/_snippets/python-install-error-tracking.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/error-tracking/_snippets/python-install-error-tracking.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/integrate/feature-flags-code/_snippets/feature-flags-code-python-set-send-feature-flags-to-true.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/integrate/feature-flags-code/_snippets/feature-flags-code-python.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/integrate/send-events/_snippets/send-events-python.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/integrate/send-events/_snippets/send-events-python.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/libraries/python/index.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/libraries/python/index.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/libraries/python/index.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Update contents/docs/libraries/python/index.mdx

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* fix language around anon evnts

* review feedback

---------

Co-authored-by: David Newell <david@posthog.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2025-07-03 06:57:18 +00:00
Ian Vanagas
b565e00289 Docs: Python flush method is blocking (#11858) 2025-06-16 15:46:03 +00:00
Oliver Browne
6f048f15dc delete references to sentry integration (#11870) 2025-06-16 18:39:05 +03:00
Ian Vanagas
6041e77753 Docs: Add error tracking to JS and Python libraries (#10469)
Co-authored-by: Bijan Boustani <bijan@posthog.com>
2025-01-27 22:19:53 +00:00
Ian Vanagas
8428ce2948 Docs: Add new features to libraries (#10415) 2025-01-22 19:09:28 +00:00
Ian Vanagas
e97f1c5417 Docs: LLM observability (#10333)
* LLM observability

* change link

* LangChain

* Update contents/docs/ai-engineering/observability.mdx

* Update observability.mdx

* Update observability.mdx

---------

Co-authored-by: timgl <tim@posthog.com>
2025-01-14 00:43:35 +00:00
Thomas Obermüller
fab752a1a9 docs(ruby): add hint to use distinct_id for group identify (#10172)
---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-12-19 09:58:48 +00:00
Ian Vanagas
c4e7d453d5 Docs: Remove identified_only from snippets, clarify SDK event types (#10161) 2024-12-18 07:39:15 -08:00
Ioannis J
12db491656 feat(docs): don't render unsupported features in library comparison (#9678)
* feat(docs): don't render unsupported features in library comparison

* feat(docs): address feedback

* fix(docs): cleanup
2024-10-25 12:30:44 +03:00
Lior539
8e1e8483c1 Doc: Anonymous events (#9497)
* WIP

* WIP

* more progress

* docs

* fix language picker

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* some comments

* ian comments

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Cory Watilo <corywatilo@gmail.com>
2024-10-04 08:52:48 +00:00
Ben White
b4e1e401a0 feat: Document nodejs historical migration (#9254)
* Mention node migration steps

* Fixes

* Fixes
2024-08-27 09:07:04 -06:00
Ian Vanagas
bf5e1a520d Docs: Anonymous and identified events (#9054)
* anonymous identified events
2024-07-30 07:33:59 -07:00
Ian Vanagas
5704c550f0 Docs: Update Python alias details (#9020)
* update python alias docs

---------

Co-authored-by: Lior539 <lneuner@gmail.com>
2024-07-24 15:25:48 +00:00
Ian Vanagas
c73385811b Docs: Update person properties (#8711)
* update person properties docs

---------

Co-authored-by: Lior539 <lneuner@gmail.com>
2024-06-17 15:21:40 +00:00
Ian Vanagas
34bad085b2 Change user properties to person properties (#8699) 2024-06-14 07:46:45 -07:00
Lior539
f7e7194dec Docs - Persons (#8639)
* persons docs

* TWEAK

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Docs: Cohorts (#8640)

* cohort docs

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-06-11 10:51:27 +00:00
Ian Vanagas
05ae4e9ab7 Docs: Person profiles updates (#8271)
* updates docs for person profiles

* rename person_profiles

* more sdks

* add notes to product docs

* more docs notes and process_person false

* tutorial notes

* API

* updates, edits

* Fix typos

* more updates

* update person profile config

* Fix typos

* no never option

* Joe's suggestions

Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>

* update persons page

* more merging

* typo

* Raquel suggestions

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>

* more raquel feedback (backward compatibility)

* Andy's suggestions

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* how to delete a person

* Tiina suggestion

---------

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Joe Martin <84011561+joethreepwood@users.noreply.github.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>
2024-05-31 10:19:43 -07:00
Ian Vanagas
17b4646d80 Docs: Unifying and updating migration (#8192)
* unifying and updating migration docs
---------

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Tiina Turban <tiina303@gmail.com>
2024-04-08 18:38:19 +00:00
Lior539
b18e02d370 Update Django docs + a/b testing tutorial (#8135)
* update django docs

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-03-27 08:18:45 +00:00
Eli Kinsey
eef8c6407c Move images to Cloudinary (#8024)
* featured images

* thumbnails

* remove hosthog

* images

* logos

* imports

* remove versions

* relative imports

* icons

* fix undefined vars

* fix import script

* kill images

* fix static images

* fix og creation

* remove quality option

* add absolutepath back

* wait for images

* date fixes

* remove scripts

* reduce network requests

* only generate OG images in prod

* simplify

* update docs

* add new images
2024-03-19 08:51:41 -07:00
Lior539
9d2359f08b Convert event and property names in docs to snake case (#6782)
* use snake case

* add property names

* comments
2023-09-22 09:33:36 +00:00
Lior539
92f4a1bbee Move Default overridden properties to own subheading (#6573)
* move default overriden properties to their own heading

* Neil's comments
2023-08-31 10:40:39 +00:00
Lior539
8a3027b246 [Getting started][Feature flags] Add installation page (#6457)
* Add feature flags installation

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

fix rust import

[Getting started][Feature flags] Add how to create feature flags page (#6464)

* How to create feature flags

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

[Getting started][Feature flags] Add "add your code" page  (#6502)

* progress - backend code and mobiel code

* add react and react native

* add web

* added API code

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* tweaks

* add sendFeatureFalgs

* [Getting started][Feature flags] Add local evaluation page (#6521)

* Add local evaluation

* tweaks

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* update group properties

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* [Getting started][Feature flags] Add client side bootstrapping page (#6522)

* Add client side bootstrapping

* Apply suggestions from code review

suggestions

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

---------

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

delete unused pages + clean up (#6538)

[Getting started][Feature flags] Add how to test feature flags (#6547)

* delete unused pages + clean up

* add how to test your feature flag

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* comments

* [Getting started][Feature flags] Update FAQ (#6563)

* Update Feature Flag FAQ - WIP

* tweak

* add advanced_disable_feature_flags_on_first_load

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* Neil's suggestion

* [Getting started][Feature flags] Add cohort expansion, getAllFlags, and overriding server properties (#6561)

* add cohort expansion, getall flags

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* Apply suggestions from code review

* Ians suggestion

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

[Getting started][Feature flags] Clean up SDK docs (#6562)

* clean up sdk docs

* Neil suggestion

* Clean up - Rename manual pages to installation and add free/partial to feature flags (#6564)

* add whats free or not. Rename manual to installation

* no message

* andy's comments
2023-08-23 12:49:02 +00:00
Lior539
9a5beec354 [Getting started][Product analytics] Add sent events page (#6426)
* add sending events

* more work

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* rename to capturing events

* [Getting started][Product analytics] Send events - clean up SDK docs (#6427)

* Clean up SDK docs

* Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* rename to capture events

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2023-08-04 13:38:53 +01:00
Lior539
50c32aa462 [Getting Started Docs][A/B test] Create Snippets from install docs (#6397)
* first commit

update icons

create separet install snippet

test comment out

comment out install web

test for Eli

progress

Add install to expeirments page

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* fix build

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2023-08-01 15:22:46 +01:00
Eli Kinsey
a3e7e415cd Fix a handful of 404s (#6406) 2023-07-29 17:18:15 -07:00
Joe Martin
5a9cafccb8 Docs: Local evaluation pricing explanation (#6338)
* Local eval pricing explanation

* Update contents/docs/feature-flags/common-questions.mdx

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* Update contents/docs/feature-flags/bootstrapping-and-local-evaluation.mdx

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>

* Update contents/docs/feature-flags/bootstrapping-and-local-evaluation.mdx

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* Update contents/docs/feature-flags/bootstrapping-and-local-evaluation.mdx

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* Update contents/docs/feature-flags/bootstrapping-and-local-evaluation.mdx

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* Adding to SDKs

Added to Go, JS, Node, PHP, Python and Ruby SDK docs.

* Update manual.mdx

* Update contents/docs/libraries/js/index.mdx

---------

Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2023-07-18 13:42:04 +01:00
Ian Vanagas
340b245e12 More 404s being destroyed (#6299)
* alias

* teams

* alias again

* karl links

* performance

* cta links

* slight wrong link
2023-07-12 09:38:39 +00:00
Lior539
a0077d5144 how to capture group events (#6214)
rework

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

comments

comments

comments
2023-07-11 18:04:23 +01:00
Lior539
c51053a0dd [Part 3] Update experiment docs: Add to SDK and update FAQ (#6189)
* add sdk code samples + tweak FAQ

rename experiment-feature-flag-name to experiment-feature-flag-key

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

comments

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

* manual ovverides

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2023-07-03 11:54:25 +01:00
Lior539
9bbb216989 replace tutorials/experiments (#6172)
Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>

comments

remove unsupported backend code snippets
2023-07-03 11:31:17 +01:00
Lior539
018961c87a update backend sdks (#6106)
* update backend sdks

Tiina's suggestion

fix urls

* Update getting started
2023-06-13 14:29:44 +01:00
Xavier Vello
e5e65bcebf docs: document flush and sync_mode for python on serverless (#6111) 2023-06-12 16:26:52 +02:00
Lior539
ea3845ec66 Update user property docs (#6077)
* first commit

Fix typos

Apply suggestions from code review

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Tiina Turban <tiina303@gmail.com>

* comments

---------

Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
Co-authored-by: Tiina Turban <tiina303@gmail.com>
2023-06-09 12:07:34 +01:00
Neil Kakkar
11a8955837 Add docs for disabling geoIP (#5765)
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2023-04-18 14:38:08 +00:00
Neil Kakkar
710c0c6590 Update index.mdx (#5717) 2023-04-12 11:59:58 -04:00
Eric Duong
16c237d238 add docs for ruby and python (#5709) 2023-04-11 13:31:20 -04:00
Eric Duong
dd240550e4 update doc for new client (#5695) 2023-04-10 15:16:09 -04:00
Neil Kakkar
dba587fe09 Update index.mdx (#5602) 2023-03-21 16:40:35 -07:00
Cory Watilo
06cf1a3fac Docs nav improvements (#5518)
* added user props image, fixed next urls

* updated docs submenu

* moved /sdks/* and /third-party/* to /libraries/*

* added integrations index page

* moved divider to right column (so it doesn't show when right column doesn't appear)

* relinked images

* updated footer links

* clean up start message

* relinked images

* comment out unused graphql query

* move "ingest historical data" to migrate section

* migrate to posthog icon

* added icons to docs dropdown

* just use the query

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
2023-03-15 15:33:40 +00:00