Commit Graph

11 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
1c4abbafea Docs: Use history change basically everywhere (#11571)
Co-authored-by: Vincent (Wen Yu) Ge <29069505+gewenyu99@users.noreply.github.com>
Co-authored-by: Rafael Audibert <32079912+rafaeelaudibert@users.noreply.github.com>
Co-authored-by: PostHog <hey@posthog.com>
2025-05-23 15:03:43 -07:00
Ian Vanagas
c4e7d453d5 Docs: Remove identified_only from snippets, clarify SDK event types (#10161) 2024-12-18 07:39:15 -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
Ian Vanagas
49fc4ad85c Docs: Update Angular setup (#8724)
* update angular docs

---------

Co-authored-by: Lior539 <lneuner@gmail.com>
2024-06-19 14:38:08 -07:00
Ian Vanagas
72e5d2c16b add person profile config (#8665) 2024-06-10 17:29:35 -07: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
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
Ian Vanagas
98792b2b04 Tutorial: How to set up Angular analytics, feature flags, and more (#6935)
* angular analytics tutorial
---------

Co-authored-by: Lior539 <lneuner@gmail.com>
2023-10-17 17:24:26 +00:00