You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capture allows you to capture anything a user does within your system, which you can later use in PostHog to find patterns in usage, work out which features to improve or where people are giving up.
Identify lets you add metadata on your users so you can more easily identify who they are in PostHog, and even do things like segment users by these properties.
82
82
@@ -92,7 +92,7 @@ def identify(
92
92
})
93
93
```
94
94
"""
95
-
_proxy(
95
+
return_proxy(
96
96
"identify",
97
97
distinct_id=distinct_id,
98
98
properties=properties,
@@ -111,7 +111,7 @@ def set(
111
111
uuid=None, # type: Optional[str]
112
112
disable_geoip=None, # type: Optional[bool]
113
113
):
114
-
# type: (...) -> None
114
+
# type: (...) -> Tuple[bool, dict]
115
115
"""
116
116
Set properties on a user record.
117
117
This will overwrite previous people property values, just like `identify`.
@@ -127,7 +127,7 @@ def set(
127
127
})
128
128
```
129
129
"""
130
-
_proxy(
130
+
return_proxy(
131
131
"set",
132
132
distinct_id=distinct_id,
133
133
properties=properties,
@@ -146,7 +146,7 @@ def set_once(
146
146
uuid=None, # type: Optional[str]
147
147
disable_geoip=None, # type: Optional[bool]
148
148
):
149
-
# type: (...) -> None
149
+
# type: (...) -> Tuple[bool, dict]
150
150
"""
151
151
Set properties on a user record, only if they do not yet exist.
152
152
This will not overwrite previous people property values, unlike `identify`.
@@ -162,7 +162,7 @@ def set_once(
162
162
})
163
163
```
164
164
"""
165
-
_proxy(
165
+
return_proxy(
166
166
"set_once",
167
167
distinct_id=distinct_id,
168
168
properties=properties,
@@ -182,7 +182,7 @@ def group_identify(
182
182
uuid=None, # type: Optional[str]
183
183
disable_geoip=None, # type: Optional[bool]
184
184
):
185
-
# type: (...) -> None
185
+
# type: (...) -> Tuple[bool, dict]
186
186
"""
187
187
Set properties on a group
188
188
@@ -198,7 +198,7 @@ def group_identify(
198
198
})
199
199
```
200
200
"""
201
-
_proxy(
201
+
return_proxy(
202
202
"group_identify",
203
203
group_type=group_type,
204
204
group_key=group_key,
@@ -218,7 +218,7 @@ def alias(
218
218
uuid=None, # type: Optional[str]
219
219
disable_geoip=None, # type: Optional[bool]
220
220
):
221
-
# type: (...) -> None
221
+
# type: (...) -> Tuple[bool, dict]
222
222
"""
223
223
To marry up whatever a user does before they sign up or log in with what they do after you need to make an alias call. This will allow you to answer questions like "Which marketing channels leads to users churning after a month?" or "What do users do on our website before signing up?"
0 commit comments