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
715a96b10a Tutorial: How to set up Flutter remote config (#10492)
Co-authored-by: Danilo Campos <danilo@posthog.com>
2025-01-27 21:32:36 +00: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
David Newell
c94181ae63 chore: update snippets to use anonymous crossorigin (#9652) 2024-10-17 15:50:07 +01:00
Juraj Majerik
b6005c3cc9 chore(surveys): update JS snippet with getNextSurveyStep (#8765) 2024-06-21 10:35:12 +00:00
Ian Vanagas
34bad085b2 Change user properties to person properties (#8699) 2024-06-14 07:46:45 -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
Manoel Aranda Neto
8d28b5274d chore: add session recording section on flutter docs (#8066) 2024-03-18 15:16:15 +01:00
Lior539
d5f679240a Tutorial - flutter analytics (#7976)
* flutter analytics

* comments

* Docs - Update identify docs for Mobile SDKs (#7987)

* update identify docs for mobile

* Update contents/docs/libraries/flutter/_snippets/identify.mdx

* Update contents/docs/libraries/flutter/_snippets/identify.mdx

* Apply suggestions from code review
2024-03-06 15:16:12 +00:00
Lior539
181d85c913 Tutorial - Flutter ab tests (#7905)
* WIP

* fixes

* fixes

* date

* tweak

* Apply suggestions from code review

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

* comments

* Apply suggestions from code review

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

* fixes

* Tutorial - flutter feature flags (#7945)

* flutter feature flags

* Apply suggestions from code review

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

* Update contents/tutorials/flutter-feature-flags.md

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

* Apply suggestions from code review

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

* fixes

* dates

---------

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

---------

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com>
2024-03-05 10:35:22 +00:00