Skip to content

Commit 747ca10

Browse files
author
markzegarelli
committed
Merge branch 'develop' of github.com:segmentio/segment-docs into develop
2 parents ae3eb10 + a972103 commit 747ca10

File tree

8 files changed

+29
-4
lines changed

8 files changed

+29
-4
lines changed

src/connections/sources/catalog/libraries/mobile/amp/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ Within your `<body>` tags, include the following Segment analytics snippet:
3939
```
4040
Replace `WRITE_KEY` with the write key you obtain from the AMP Source you've set up within the Segment UI.
4141

42+
For sources in [EU workspaces](/docs/guides/regional-segment/), use the following snippet:
43+
44+
```html
45+
<amp-analytics type="segment">
46+
<script type="application/json">
47+
{
48+
"vars": {
49+
"writeKey": "<SOURCE_WRITE_KEY>"
50+
},
51+
"requests": {
52+
"host": "https://events.eu1.segmentapis.com/v1/pixel"
53+
}
54+
}
55+
</script>
56+
</amp-analytics>
57+
```
58+
4259
By default, the snippet will automatically fire a page event which you can read more about [here](/docs/connections/sources/catalog/libraries/mobile/amp/#page).
4360

4461

src/connections/sources/catalog/libraries/mobile/swift-ios/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ analytics.add(plugin: idfaPlugin)
445445
Segment supports these destinations for Analytics Swift, with more to come:
446446
* [Amplitude](https://github.com/segment-integrations/analytics-swift-amplitude){:target="_blank"}
447447
* [Appsflyer](https://github.com/segment-integrations/analytics-swift-appsflyer){:target="_blank"}
448+
* [Braze (Partner Maintained)](https://github.com/braze-inc/analytics-swift-braze){:target="_blank"}
448449
* [Facebook App Events](https://github.com/segment-integrations/analytics-swift-facebook-app-events){:target="_blank"}
449450
* [Firebase](https://github.com/segment-integrations/analytics-swift-firebase){:target="_blank"}
450451
* [Mixpanel](https://github.com/segment-integrations/analytics-swift-mixpanel){:target="_blank"}

src/connections/sources/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To create a source:
7878
{% include components/reference-button.html
7979
href="https://segment.com/academy/intro/"
8080
icon="symbols/squares-arrow.svg"
81-
title="The Analytic Quickstart Guide"
81+
title="The Analytics Quickstart Guide"
8282
description="Analytics and data collection is a very broad topic and it can be quite overwhelming. How do you get started?"
8383
%}
8484

src/engage/audiences/computed-traits.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ To edit a real-time Trait, follow these steps:
175175

176176
Engage then processes your Trait edits. While the edit task runs, the trait remains locked and you can't make further changes. Once Engage has finished incorporating your changes, you'll be able to access your updated Trait.
177177

178+
> warning ""
179+
> It is not possible to edit a trait to convert it from real-time to batch, or vice-versa. If the computation type needs to be changed, you will need to recreate the trait with the appropiate conditions.
180+
178181
## Accessing your Computed Traits using the Profiles API
179182

180183
You can access your computed traits using the Profile API by querying the `/traits` endpoint. For example, you can query for the `emails_opened_last_30_days` with the following GET request:

src/engage/audiences/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ Engage then processes your realtime Audience or Trait edits. While the edit task
132132
> warning ""
133133
> If your audience includes historical data (Historical Backfill is enabled), editing an audience creates a new backfill task. The backfill task, and therefore the edit task, take longer to process if the audience is connected to a destination with rate limits. Rate-limited destinations dictate how fast Engage can backfill. View a list of [rate-limited destinations](/docs/engage/using-engage-data/#rate-limits-on-engage-event-destinations).
134134
135+
> warning ""
136+
> It is not possible to edit an audience to convert it from real-time to batch, or vice-versa. If the computation type needs to be changed, you will need to recreate the audience with the appropriate conditions.
137+
138+
135139
## Access your Audiences using the Profiles API
136140

137141
You can access your Audiences using the Profile API by querying the `/traits` endpoint. For example, you can query for `high_value_user` property with the following `GET` request:

src/engage/content/email/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can send test emails before you include a template in marketing campaigns
3838
1. Select the email template you want to test on the Templates screen.
3939
2. From the Template Settings page, click **Test Email**.
4040
3. Enter email addresses that will receive the test email.
41-
4. Choose a test profile with traits that apply to your marketing campaign and click **Use as Test Profile**.
41+
4. Choose a test profile with traits that apply to your marketing campaign and click **Use as Test Profile**. The selected profile must have a userId assigned to it.
4242
5. Select **Send Test Email**.
4343

4444
> success ""

src/engage/content/sms/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Send a test SMS message before you include it as a step in your Journey.
3131

3232
1. After you build your SMS template, click **Test SMS**.
3333
2. Enter recipient phone numbers for the test message.
34-
3. Select a profile to test the SMS with and click **Use as Test Profile**. To ensure merge tags work as expected, use test profiles with traits that apply to your campaign.
34+
3. Select a profile to test the SMS with and click **Use as Test Profile**. To ensure merge tags work as expected, use test profiles with traits that apply to your campaign. The selected profile must have a userId assigned to it.
3535
4. Click **Send Test SMS**.
3636

3737
If a recipient replies "Stop" to the test SMS, Twilio unsubscribes their phone number and sends an opt-out confirmation.

src/protocols/transform/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Here's a list of Segment Transformations with some use case examples.
112112

113113
- **Update a property value:** Use [Segment's Public API](https://docs.segmentapis.com/tag/Transformations){:target="_blank"} to transform the property `currency` to have the value `USD`.
114114

115-
- **Add a new property name and assign a value:** If you want to create a new property and set a static value, use [Segment's Public API](https://docs.segmentapis.com/tag/Transformations){:target="_blank"} to create `new_property: static_value`.
115+
- **Add a new property name and assign a value:** If you want to create a new property and set a static value, use [Segment's Public API](https://docs.segmentapis.com/tag/Transformations){:target="_blank"} to create `new_property: static_value`. Segment currently supports setting static values for top-level fields with `propertyValueTransformations`. However, Segment doesn't support changing fields outside the properties or traits object with `propertyRenames`.
116116

117117
{% comment %}
118118
- **Change property value casing:** Transform property value casing to lowercase, uppercase, or title case. For example, Transform the property value `united states` to `USA` to remain consistent with your data tracking.

0 commit comments

Comments
 (0)