Commit Graph

12 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
Ian Vanagas
34328c647b Docs: Revamp JavaScript Web (#10781)
Co-authored-by: Andy Vandervell <92976667+andyvan-ph@users.noreply.github.com>
2025-02-27 01:42:54 +00:00
Ian Vanagas
8e5fb6ae38 Replace references to experiment goals with metrics (#10373) 2025-01-17 09:02:56 -08: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
Manoel Aranda Neto
f92b395b81 fix: android replay tutorial page (#9315) 2024-09-06 12:37:20 +00:00
Lior539
e6cc0c64ad Tutorial - Android session replays (#8933)
* first draft

* screenshots

* Apply suggestions from code review

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* tweaks

* Apply suggestions from code review

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Apply suggestions from code review

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

* comments

* date

---------

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-08-01 14:25:55 +01:00
Lior539
60cde80d60 Tutorial: LLM a/b tests (#8855)
* first draft

* Fix typos

* Apply suggestions from code review

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

* remove billing upgrade message

---------

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-07-01 10:49:19 +01:00
Ben White
54c4f2f198 feat: New api hosts (#7996) 2024-04-22 13:08:09 +02: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
bdb5f0ed58 Tutorial - Go ab tests (#7699)
* first draft

* typos

* Fix typos

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: PostHog <hey@posthog.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-02-06 10:48:25 +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
Lior539
44b9a32c69 Tutorial - Angular A/B tests (#7579)
* first draft

* edits

* fix file name

* 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-23 08:23:30 +00:00