Commit Graph

15 Commits

Author SHA1 Message Date
Robbie
699908a3b7 docs: Add posthog-js defaults to snippet examples (#11627)
* Add posthog-js defaults to snippet examples

* Add defaults to install-web too

* Add some more defaults

* feat: Add `<ph_posthog_js_defaults>` everywhere

Everywhere where we're initializing `<ph_project_api_key>` now also initializes `<ph_posthog_js_defaults>`. A follow-up pass is needed to update `pageview` docs letting people know we're tracking these automatically now

* refactor(): Remove `ph_posthog_js_defaults` where we're not initing lib from beggining

We'll only include the `defaults` suggestion in places where we're explaining HOW we initialize posthog. When we're talking about a non-correlated config, then we'll omit it. The same applies to `api_host`

* refactor: Stop using `history_change` in most places

Rather than suggesting `history_change`, let's instead suggest using our new `defaults` feature

* add a space

* change next.js note

* Ian's fixes

---------

Co-authored-by: Rafa Audibert <rafael@posthog.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2025-05-31 11:49:02 +02:00
Lucas Faria
1e855a9126 fix: improve docs for getSurveyResponse (#11156)
* fix: improve docs for getSurveyResponse

* removing all references from ''

* missed survey questions
2025-04-04 12:57:13 -03:00
Andy Vandervell
fd483648a1 Newsletter form improvement (#9841)
* Newsletter form improvement

* Apply suggestions from code review

* Changing image and copy

* Image change

* Copy tweak

* Tweak

* Tweaks

* another try

* Apply suggestions from code review

Co-authored-by: Lior539 <lneuner@gmail.com>

* Update index.tsx

* Image tweak

* putting engineer post back

---------

Co-authored-by: Lior539 <lneuner@gmail.com>
2024-11-15 09:25:52 +00:00
Ian Vanagas
4e3b8939ee its just angular (#9399) 2024-09-20 07:36:30 -07:00
Ian Vanagas
bf5e1a520d Docs: Anonymous and identified events (#9054)
* anonymous identified events
2024-07-30 07:33:59 -07:00
Dylan Martin
30102dcaca chore(surveys): I renamed the "Targeting" section to "Display conditions", so this updates all of the docs to reference that new name (#8940)
* I think I got all the spots

* old file, no longer used
2024-07-15 11:23:37 -04:00
Ian Vanagas
34bad085b2 Change user properties to person properties (#8699) 2024-06-14 07:46:45 -07: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
Lior539
bd01363e58 add video (#8342) 2024-04-24 15:06:20 +00:00
Ben White
54c4f2f198 feat: New api hosts (#7996) 2024-04-22 13:08:09 +02:00
Lior539
38ccaf8c21 fix missing import (#8322) 2024-04-22 10:03:06 +00:00
Lior539
b339164de9 update survey shown to survey seen (#8138) 2024-03-27 08:13:30 +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
714210ae97 fix typo (#7678) 2024-02-02 08:46:38 +00:00
Lior539
6e47e25352 Tutorial - Angular surveys (#7596)
* First draft

* Apply suggestions from code review

* popover survey image

* 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-01-24 09:08:27 +00:00