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
|`context.locale` → language (e.g. `fr`)|`attributes.$language`|
63
-
|`context.locale` → region (e.g. `FR`) |`attributes.$region`|
62
+
|`context.locale` → language (for example, `fr`)|`attributes.$language`|
63
+
|`context.locale` → region (for example, `FR`) |`attributes.$region`|
64
+
65
+
**Notes**
64
66
65
-
**Notes**
66
67
-`$email_marketing` / `$sms_marketing`: use `subscribed` / `unsubscribed`.
67
68
- A locale like `fr-FR` is split into **language** (`fr`) and **region** (`FR`).
68
69
- All other non‑reserved fields become **custom attributes** under `attributes` (strings, numbers, booleans, arrays of strings). Avoid arbitrary nested objects.
69
70
70
-
*For more details on the fields to be included, please refer to the Batch documentation → [API Profile](https://doc.batch.com/developer/api/cep/profiles/update){:target="_blank"}.*
71
+
> info ""
72
+
> For more details on the fields to be included, refer to the Batch [API Profile documentation](https://doc.batch.com/developer/api/cep/profiles/update){:target="_blank"}.
71
73
72
74
73
75
### Resulting Batch profile payload (output)
@@ -99,13 +101,14 @@ To map additional traits into Batch profile attributes:
99
101
100
102
1. Open your destination → **Mappings** → **Edit Mapping**.
101
103
2. Go to **Profile attributes** → **Add Mapping Field**.
102
-
3. Choose a **source** (for example `traits.plan`) and set a **target** under `attributes` (for example `attributes.plan`).
104
+
3. Choose a **source** (for example,`traits.plan`) and set a **target** under `attributes` (for example,`attributes.plan`).
@@ -132,9 +135,9 @@ Segment will then replay your historical data so Batch can import your full user
132
135
133
136
When you call **Track**, Segment uses your `userId` as Batch’s **`identifiers.custom_id`**. A **userId is required** to attribute the event to a profile.
0 commit comments