Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Vanagas <[email protected]>
  • Loading branch information
Lior539 and ivanagas authored Oct 4, 2024
1 parent e60144c commit fa900d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contents/docs/data/events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion contents/docs/data/persons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion contents/docs/libraries/js/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa900d4

Please sign in to comment.