Skip to content

Commit ba6c9e4

Browse files
authored
Merge pull request #8080 from lopenchi/develop
Small fixes - Batch 3.1
2 parents adc40cf + 7fa4895 commit ba6c9e4

File tree

14 files changed

+40
-24
lines changed

14 files changed

+40
-24
lines changed

src/_includes/content/connection-modes-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Segment's web source (Analytics.js), and native client-side libraries (iOS, Andr
66
<div class="fa fa-info-circle"></div>
77
<div class="content">
88
<p class="header">Healthcare and Life Sciences (HLS) customers can encrypt data flowing into their destinations</p>
9-
<p> HLS customers with a HIPAA eligible workspace can encrypt data in fields marked as Yellow in the Privacy Portal before they flow into an event stream, cloud-mode destination.
9+
<p>HLS customers with a HIPAA eligible workspace can encrypt data in fields marked as Yellow in the Privacy Portal before they flow into an event stream, cloud-mode destination.
1010
<br>To learn more about data encryption, see the <a href="/docs/privacy/hipaa-eligible-segment/#data-encryption">HIPAA Eligible Segment documentation</a>.</p>
1111
</div>
1212
</div>
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
<div class="premonition info"><div class="fa fa-info-circle"></div><div class="content"><p class="header">Developer Center no longer accepts new components.</p><p markdown=1>Segment is redeveloping the Developer Center and will launch a new version when complete. To stay up to date, add your contact information [in this Airtable form](https://airtable.com/shrT3b4C7agUEBKVS){:target="_blank"}.</p></div></div>
1+
<div class="premonition info">
2+
<div class="fa fa-info-circle"></div>
3+
<div class="content">
4+
<p class="header">Developer Center no longer accepts new components.</p>
5+
<p markdown=1>Segment is redeveloping the Developer Center and will launch a new version when complete. To stay up to date, add your contact information [in this Airtable form](https://airtable.com/shrT3b4C7agUEBKVS){:target="_blank"}.</p>
6+
</div>
7+
</div>
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
> info ""
2-
> The reset method doesn't clear the `userId` from connected client-side integrations. If you want to clear the `userId` from connected client-side destination plugins, you'll need to call the equivalent reset method for that library.
1+
<div class="premonition info">
2+
<div class="fa fa-info-circle"></div>
3+
<div class="content">
4+
<p>The reset method doesn't clear the `userId` from connected client-side integrations. If you want to clear the `userId` from connected client-side destination plugins, you'll need to call the equivalent reset method for that library.</p>
5+
</div>
6+
</div>
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
> info ""
2-
> Based on the library you use, the syntax in the examples might be different. You can find library-specific documentation on the [Sources Overview](/docs/connections/sources/) page.
1+
<div class="premonition info">
2+
<div class="fa fa-info-circle"></div>
3+
<div class="content">
4+
<p markdown=1>Based on the library you use, the syntax in the examples might be different. You can find library-specific documentation on the [Sources Overview](/docs/connections/sources/) page.</p>
5+
</div>
6+
</div>
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
> warning "HTTP Tracking API limits"
2-
>
3-
> Segment's HTTP Tracking API accepts batch requests up to **500 KB**. To avoid errors in event creation, ensure that individual event payload sizes remain below **32 KB**.
1+
<div class="premonition warning">
2+
<div class="fa fa-exclamation-circle"></div>
3+
<div class="content">
4+
<p class="header">HTTP Tracking API limits</p>
5+
<p>Segment's HTTP Tracking API accepts batch requests up to <strong>500 KB</strong>. To avoid errors in event creation, ensure that individual event payload sizes remain below <strong>32 KB</strong>.</p>
6+
</div>
7+
</div>

src/connections/sources/catalog/libraries/server/http-api/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Segment HTTP Tracking API lets you record analytics data from any website or
77

88
Segment has native [sources](/docs/connections/sources/) for most use cases (like JavaScript and iOS) that are open-source and built for high-performance. But for unsupported use cases, [blocked event forwarding](/docs/protocols/enforce/forward-blocked-events/) or when you're using [Segment-Managed Custom Domain](/docs/connections/sources/custom-domain/), you may want to send data to Segment's HTTP API directly.
99

10-
> info "HTTP API sources in EU workspaces should use the `events.eu1.segmentapis.com` endpoint"
10+
> info "HTTP API sources in EU workspaces should use the events.eu1.segmentapis.com endpoint"
1111
> If you are located in the EU and use the `https://api.segment.io/v1/` endpoint, you might not see any errors, but your events will not appear in the Segment app. For more information about regional support, see the [Source Regional support](/docs/guides/regional-segment/#source-regional-support) documentation.
1212
1313
## Headers
@@ -23,7 +23,7 @@ Choose between [writeKey authentication](#writeKey-authentication), [basic authe
2323
Authenticate to the Tracking API by sending your project's **Write Key** along with a request.
2424
The authentication writeKey should be sent as part of the body of the request. This will be encrypted over https.
2525

26-
```
26+
```shell
2727
curl --location 'https://api.segment.io/v1/track' \
2828
--header 'Content-Type: application/json' \
2929
--data-raw '{
@@ -58,7 +58,7 @@ Include the access token in the Authorization header as a Bearer token along wit
5858

5959
For example, to use the access token in the HTTP API Source, use `access_token` in the header and `write_key` in the payload. An example cURL request looks like:
6060

61-
```
61+
```shell
6262
curl --location 'https://api.segment.io/v1/track' \
6363
--header 'Content-Type: application/json' \
6464
--header 'Authorization: Bearer <access token>' \

src/engage/content/sms/template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Send a test SMS message before you include it as a step in your Journey.
4646

4747
1. After you build your SMS template, click **Test SMS**.
4848
2. If your template has profile traits, enter a trait value for the test SMS. This ensures that your merge tags work as expected.
49-
- Empty fields show the default value that you've assigned. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}. If there's no default value, the field will be blank.
49+
- Empty fields show the default value that you've assigned. For example, `loyal customer` would be the default for the following merge tag: {% raw %}```{{profile.traits.first_name | default: "loyal customer"}}```{% endraw %}. If there's no default value, the field will be blank.
5050
3. Enter recipient phone numbers for the test message.
51-
- Profiles that you send test messages to must have a userId in Segment.
51+
- Profiles that you send test messages to must have a userId in Segment.
5252
4. Click **Send test SMS**.
5353

5454

src/engage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ Create lists of users or accounts that match specific criteria. For example, aft
2727
#### Sync audiences to downstream tools
2828
Once you create your Computed Traits and Audiences, Engage sends them to your Segment Destinations in just a few clicks. You can use these Traits and Audiences to personalize messages across channels, optimize ad spend, and improve targeting. You can also use the [Profile API](/docs/unify/profile-api) to build in-app and onsite personalization. Learn more about [using Engage data](/docs/engage/using-engage-data/) and the [Profile API](/docs/unify/profile-api).
2929

30-
{% include components/reference-button.html href="https://segment.com/customers/drift/" icon="personas.svg" title="Personalizing marketing campaigns" description="Marketing teams use Engage to run real-time multi-channel marketing campaigns based off specific user attributes they've computed in Engage. Read about how Drift used Engage to increase prospect engagement by 150% in two months." %}
30+
{% include components/reference-button.html href="https://segment.com/customers/drift/" icon="personas.svg" title="Personalizing marketing campaigns" description="Marketing teams use Engage to run real-time multi-channel marketing campaigns based off specific user attributes they've computed in Engage. Read about how Drift used Engage to increase prospect engagement by 150% in two months." %}

src/getting-started/02-simple-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ That snippet loads Analytics.js onto the page _asynchronously_, so it won't affe
8282
<br>
8383
The [Identify](/docs/connections/spec/identify/) method tells Segment who the current user is. It includes a unique user ID and any optional traits you know about them. You can read more about it in the [Identify method reference](/docs/connections/sources/catalog/libraries/website/javascript#identify).
8484
<br><br>
85-
> info "You don't need to call `identify` for anonymous visitors to your site"
85+
> info "You don't need to call identify for anonymous visitors to your site"
8686
> Segment automatically assigns them an `anonymousId` so just calling `page` and `track` works without `identify`.
8787
<br>
8888
Here's an example of what a basic call to `identify` might look like:

src/getting-started/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ With Segment, you can track [first-party customer data](https://segment.com/lear
88

99
Segment simplifies the process of collecting data and connecting new tools, allowing you to spend more time using your data and less time trying to collect, process, and share it with business tools. In most cases, you won't even need to touch your tracking code to connect to new tools.
1010

11-
<div class="double">
12-
<div></div>
13-
{% include components/reference-button.html newtab="false" href="/getting-started/01-what-is-segment/" icon="symbols/arrow-right.svg" title="Ready to get started?" description="Let's walk through the steps to get up and running on Segment. Let's go!" variant="related" subtitle="next" %}
14-
</div>
11+
{% include components/reference-button.html newtab="false" href="/getting-started/01-what-is-segment/" icon="symbols/arrow-right.svg" title="Ready to get started?" description="Let's walk through the steps to get up and running on Segment. Let's go!" variant="related" subtitle="next" %}

0 commit comments

Comments
 (0)