Skip to content

Commit abef4bd

Browse files
committed
chore: fixes segment serialization batch 4.1
1 parent 9bf0b4f commit abef4bd

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

src/connections/sources/catalog/libraries/server/node/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ const onExit = async () => {
404404
```
405405
406406
### Collect unflushed events
407-
If you need to preserve all of your events in the instance of a forced timeout, even ones that came in after analytics.flush({ close: true }) was called, you can still collect those events by using:
407+
If you need to preserve all of your events in the instance of a forced timeout, even ones that came in after `analytics.flush({ close: true })` was called, you can still collect those events by using:
408408
409409
```javascript
410410
const unflushedEvents = []

src/connections/spec/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ The `sentAt` timestamp specifies the clock time for the client's device when the
278278

279279
**Note**: The `sentAt` timestamp is not useful for any analysis since it's tainted by user's clock skew.
280280

281-
> warning "Segment now adds `sentAt` to a payload when the batch is complete and initially tried to the Segment API for the Swift, Kotlin, and C# mobile libraries"
281+
> warning "Segment now adds sentAt to a payload when the batch is complete and initially tried to the Segment API for the Swift, Kotlin, and C# mobile libraries"
282282
> This update changes the value of the Segment-calculated `timestamp` to align closer with the `receivedAt` value rather than the `originalTimestamp` value. For most users who are online when events are sent, this does not significantly impact their data. However, if your application utilizes an offline mode where events are queued up for any period of time, the `timestamp` value for those users now more closely reflects when Segment received the events rather than the time they occurred on the users' devices.
283283
284284

src/engage/audiences/linked-audiences-iterable.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ In Iterable, do the following:
7171
![A screenshot of the test event page](/docs/engage/images/send-test-event.png)
7272

7373
If the event is sent successfully to Iterable, you will see a `“message”: “success”` response in Segment.
74+
7475
2. Open Iterable and check the [Campaign tab in Messaging Insights](https://support.iterable.com/hc/en-us/articles/360052814452-Messaging-Insights#viewing-metrics){:target="_blank"} (Insights > Messaging Insights > Campaigns > _[Your Unique Campaign])_ to confirm that Iterable has sent the message.
7576
3. If your email doesn’t look the way you want it to, adjust the [Handlebars syntax](https://support.iterable.com/hc/en-us/articles/205480365-Personalizing-Templates-with-Handlebars#referencing-user-profile-and-event-fields-with-handlebars){:target="_blank"} in Iterable, and send another test event. See the following [personalization examples](#handlebars-examples-to-use-in-iterable){:target="_blank"} for more specific details.
7677
4. When you’re finished testing your campaign, proceed to [Enable your Linked Audience](/docs/engage/audiences/linked-audiences/#step-4-enable-your-linked-audience).

src/engage/campaigns/email-campaigns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Follow these steps to test your campaign:
7676

7777
1. In the **Send an email** pane, navigate to Body, then click **Test email**.
7878
2. If your template has profile traits, enter a trait value for the test email. This ensures that your merge tags work as expected.
79-
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
79+
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
8080
3. In the **Recipients** field, enter the email address(es) that will receive your test email.
8181
4. Click **Send test email**.
8282

src/engage/campaigns/sms-campaigns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Follow these steps to test your campaign:
6060

6161
1. In the **Send an SMS** pane, click **Test SMS**.
6262
2. If your template has profile traits, enter a trait value for the test SMS. This ensures that your merge tags work as expected.
63-
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
63+
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
6464
3. In the **Recipients** field, enter the phone number(s) that will receive your test SMS.
6565
4. Click **Send test SMS**.
6666

src/engage/content/email/template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ You can send test emails before you include a template in marketing campaigns.
4444
1. Select the email template you want to test on the Templates screen.
4545
2. From the Template Settings page, click **Test email**.
4646
3. If your template has profile traits, enter a trait value for the test email. This ensures that your merge tags work as expected.
47-
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
48-
- To test traits with arrays, you must input the array in JSON format. For example, `[“item1”, “item2”]` or `[{“itemName”: “shoes”}]`. If you don't use JSON format for arrays in the test message side sheet, your template might not render as expected.
47+
- To test a default value, leave the profile traits field blank. Default values must be assigned in your merge tags. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}.
48+
- To test traits with arrays, you must input the array in JSON format. For example, `[“item1”, “item2”]` or `[{“itemName”: “shoes”}]`. If you don't use JSON format for arrays in the test message side sheet, your template might not render as expected.
4949
4. Enter recipient email addresses for the test message.
50-
- Profiles that you send test messages to must have a userId in Segment.
50+
- Profiles that you send test messages to must have a userId in Segment.
5151
5. Select **Send test email**.
5252

5353
{% comment %}
@@ -73,7 +73,7 @@ Engage supports dynamic sending using merge tags. Personalize email content by a
7373
As you configure the template, click **Merge Tags** and select the profile traits to include. Engage inserts the merge tags based on cursor placement.
7474

7575
> success ""
76-
> - For all merge tags, you must add a `default` value inside a single quote. For example: {% raw %}`{{profile.traits.traits | default: 'Default'}}`{% endraw %}
76+
> - For all merge tags, you must add a `default` value inside a single quote. For example: `{{profile.traits.traits | default: 'Default'}}`
7777
> - Only use variable tags in [liquid sytax](https://liquidjs.com/tags/overview.html){:target="blank"}.
7878
7979
The following table contains a description and some best practices for all fields in the email template. Asterisks indicate required fields.

0 commit comments

Comments
 (0)