Skip to content

Commit 8f89153

Browse files
Align PHP example keys with other User reserved profile properties (#1867)
All other identify code examples at time of writing use $name. The list of reserved profile properties includes $name, $first_name, $last_name: https://docs.mixpanel.com/docs/data-structure/property-reference/reserved-properties#reserved-profile-properties Co-authored-by: myronkaifung <[email protected]>
1 parent ce0651f commit 8f89153

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pages/docs/quickstart/identify-users.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ You may want to disable ip geolocation when using a server-side SDK. You can lea
5151
```shell php
5252
// create/update a profile for user id 12345
5353
$mp->people->set('USER_ID', array(
54-
'$first_name' => "John",
55-
'$last_name' => "Doe",
54+
'$name' => "John Doe",
5655
'$email' => "[email protected]",
5756
'$phone' => "5555555555",
5857
"Favorite Color" => "red"

0 commit comments

Comments
 (0)