From fa900d4f3dd5656c87f5d0ea30022c277b3923ca Mon Sep 17 00:00:00 2001 From: Lior539 Date: Fri, 4 Oct 2024 09:43:29 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ian Vanagas <34755028+ivanagas@users.noreply.github.com> --- contents/docs/data/events.mdx | 2 +- contents/docs/data/persons.mdx | 2 +- contents/docs/libraries/js/index.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contents/docs/data/events.mdx b/contents/docs/data/events.mdx index fdcdd2d4c6c4..f89a8b409efd 100644 --- a/contents/docs/data/events.mdx +++ b/contents/docs/data/events.mdx @@ -45,7 +45,7 @@ PostHog is event-based, meaning much of the functionality is triggered through e ## Anonymous vs identified events -PostHog captures two types of events: **anonymous** and **identified**. Identified events enable you to attribute events to specific users, while anonymous events do not contain individually identifiable data. +PostHog captures two types of events: **anonymous** and **identified**. Identified events enable you to attribute events to person profiles, while anonymous events do not. See our docs on [anonymous vs identified events](/docs/data/anonymous-vs-identified-events) for more information. diff --git a/contents/docs/data/persons.mdx b/contents/docs/data/persons.mdx index d559548118ef..2c9ef8fadc01 100644 --- a/contents/docs/data/persons.mdx +++ b/contents/docs/data/persons.mdx @@ -28,7 +28,7 @@ People have **person profiles** with [properties](/docs/product-analytics/person ## How to create person profiles -When you capture your first [identified event](/docs/data/anonymous-vs-identified-events) for a user, it creates a **person profile** for them. Then, any future events captured will be attributed to them. You can also [set properties](/docs/product-analytics/person-properties) for the user. +When you capture your first [identified event](/docs/data/anonymous-vs-identified-events) for a user, it creates a **person profile** for them. Then, any future events captured are attributed to this profile. You can also [set properties](/docs/product-analytics/person-properties) for the person. ## Viewing person profiles diff --git a/contents/docs/libraries/js/index.mdx b/contents/docs/libraries/js/index.mdx index 559c31f59990..d37258b173bc 100644 --- a/contents/docs/libraries/js/index.mdx +++ b/contents/docs/libraries/js/index.mdx @@ -111,7 +111,7 @@ posthog.capture( Typically, person properties are set when an event occurs like `user updated email` but there may be occasions where you want to set person properties as its own event. -```javascript +```js posthog.setPersonProperties( { name: "Max Hedgehog" }, // These properties are like the `$set` from above { initial_url: "/blog" } // These properties are like the `$set_once` from above