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
Copy file name to clipboardExpand all lines: src/_data/actions/amplitude.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -72,15 +72,15 @@ config:
72
72
- device-mobile
73
73
configurable: true
74
74
location: "Subscription **Group Identify User**."
75
-
notes: Select a value in the **Group Type** actions field.
75
+
notes: Select a value in the **Group Type** actions field. This field is mandatory in Amplitude (Actions). In the Amplitude Classic destination, ommiting a value for property field resulted in Amplitude creating a group called `[Segment] Group`.
76
76
- name: Group Value Trait
77
77
connection_mode:
78
78
- cloud
79
79
- device-web
80
80
- device-mobile
81
81
configurable: true
82
82
location: "Subscription **Group Identify User**."
83
-
notes: Select a value in the **Group Value** actions field.
83
+
notes: Select a value in the **Group Value** actions field. This field is mandatory in Amplitude actions. In the Amplitude Classic destination, ommiting a value for this property resulted in an alpha-numeric value.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-amplitude/index.md
+2-48Lines changed: 2 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,7 +207,7 @@ This Action sets the user ID for a specific device ID, or updates the user prope
207
207
208
208
{% comment %}
209
209
### Merge users with Anonymous ID and User ID
210
-
<!-- MZ 7/29: Identify User does not have a field for Anonymous ID -->
210
+
<!-- MZ 7/29: Anonymous id is in the coalesce function in Device ID -->
211
211
To have Amplitude recognize an anonymous user and a known or logged-in user, make sure you include both the user’s `userId` and the `anonymousId` they had before that in your Identify call. If you don’t include the anonymousId, Amplitude can’t tell that the anonymous user is the same person as the logged-in user.
212
212
213
213
If you’re using a Segment server library or the Segment HTTP API, you must explicitly include both anonymousId and userId. If you’re using Analytics.js in device-mode, or a bundled SDK, Segment automatically includes anonymousId for you.
@@ -262,55 +262,9 @@ To use Amplitude's groups with Segment, you must enable the following Action set
262
262
263
263
## Migration from Amplitude Classic
264
264
265
-
Most of the classic Amplitude destination settings were related to device-mode collection (for example, batching or Log Revenue V2), and do not apply to the Amplitude (Actions) destination, which runs in cloud-mode. The following sections discuss how to replicate the old settings where possible.
265
+
Configuration of the Amplitude (Actions) destination is done through Filters and Actions. Consult the table below for information about configuring your Amplitude (Actions) destination similarly to your classic Amplitude destination.
266
266
267
267
> info ""
268
268
> Contact Segment support if you find features missing from the Amplitude (Actions) destination that were available in the classic Amplitude destination.
269
269
270
-
### Track Named, Categorized, or All Pages or Screens
271
-
272
-
The default Amplitude (Actions) subscription sends *all* Page and Screen calls.
273
-
To replicate the old behavior, change the trigger to include only events that contain `name` or `category`.
274
-
275
-
### Prefer Anonymous ID for Device ID
276
-
<!-- do we wanat to show obj-c code here? -->
277
-
278
-
To replicate the old behavior, change the mapping for Device ID field.
279
-
Default:
280
-
```objc
281
-
'@if': {
282
-
exists: { '@path': '$.context.device.id' },
283
-
then: { '@path': '$.context.device.id' },
284
-
else: { '@path': '$.anonymousId' }
285
-
}
286
-
```
287
-
288
-
### Use AdvertisingId for DeviceId
289
-
290
-
To replicate the old behavior, change the mapping for Device ID field.
291
-
Default:
292
-
```objc
293
-
'@if': {
294
-
exists: { '@path': '$.context.device.id' },
295
-
then: { '@path': '$.context.device.id' },
296
-
else: { '@path': '$.anonymousId' }
297
-
}
298
-
```
299
-
300
-
301
-
### Location Tracking
302
-
303
-
Location Tracking is a feature of Amplitude’s mobile SDKs and is not supported in Amplitude (Actions) which run in cloud-mode only.
304
-
This setting required that the user grant location permission for the mobile app. This is different from the IP-based location lookup that Amplitude can perform.
305
-
306
-
To work around this limitation, send `context.location.latitude` and `context.location.longitude` from your app, and let Amplitude perform the lookup.
307
-
308
-
### Legacy Group Behavior
309
-
310
-
If you don't provide “Amplitude Group Type/Value Trait”, or one of the traits was not provided in the Group call, then Segment associated the user with a group with the type `[Segment] Group` and with the value `(Group Id)`. No properties are associated with that group.
311
-
312
-
For example, the previous group call would associate the user with a group of type `[Segment] Group` and value `082108c8-f51e-485f-9d2d-b6ba57ee2c40`.
313
-
314
-
These fields are mandatory in the Group Identify User action, and the action can't run unless they are provided.
0 commit comments