Skip to content

Commit 85f45fd

Browse files
Merge pull request #8081 from carlota-moh/develop
chore: fixes for serializing batch 4.1
2 parents 9bf0b4f + 086b4a9 commit 85f45fd

File tree

12 files changed

+19
-29
lines changed

12 files changed

+19
-29
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<div class="premonition info"><div class="fa fa-info-circle"></div><div class="content"> <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></div></div>
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.

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/sources/catalog/libraries/website/javascript/quickstart.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,10 @@ To do that, Segment recommends that you use a backend template to inject an Iden
111111
Depending on your templating language, your actual Identify call might look something like this:
112112
113113
```js
114-
{% raw %}
115114
analytics.identify(' {{user.id}} ', {
116115
name: '{{user.fullname}}',
117116
email: '{{user.email}}'
118117
});
119-
{% endraw %}
120118
```
121119
122120
With that call in your page footer, you successfully identify every user that visits your site.

src/connections/sources/custom-domain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Custom Domain is a fully-managed service that enables you to configure a first-p
1515
1616
{% include content/domain-delegation-solutions.md %}
1717

18-
### How DNS subdomain delegation works
18+
## How DNS subdomain delegation works
1919
DNS subdomain delegation is a process where the control of a specific subdomain is assigned to another DNS server, allowing that server to manage the DNS records for the subdomain. This delegation is useful for distributing the management of DNS records and enables specialized handling of subdomain traffic.
2020

21-
### How CNAME records work
21+
## How CNAME records work
2222
When a user tries to access the alias domain, the DNS resolver looks up the CNAME record, finds the canonical name, and resolves it to the IP address of the target. For example, you could alias your subdomain to point to the Segment domain. If a user accesses your site, they are redirected to the Segment domain, but their browser's address bar still shows the alias domain.
2323

2424
CNAME records provide flexibility and centralized management, making it easier to handle domain redirections and subdomain configurations.

src/connections/sources/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ analytics.identify('user_123', {
3030
email: 'jane.kim@example.com',
3131
name: 'Jane Kim'
3232
},
33-
});
33+
);
3434
```
3535
{% endcodeexampletab %}
3636

@@ -49,7 +49,7 @@ analytics.identify('user_123', {
4949
{% endcomment %}
5050

5151
> info "If you don't see the source you're looking for in the catalog"
52-
> If a tool isn't listed as a supported source in Segment's [catalog](https://segment.com/catalog/){:target='_blank}, it's not possible to incorporate the integration out-of-the-box within a Segment workspace. As an alternative, you can use the [HTTP API](/docs/connections/sources/catalog/libraries/server/http-api/) source to collect data from the tool's API. You can also use [Functions](/docs/connections/functions/) to send or receive data from other tools.
52+
> If a tool isn't listed as a supported source in Segment's [catalog](https://segment.com/catalog/){:target="_blank"}, it's not possible to incorporate the integration out-of-the-box within a Segment workspace. As an alternative, you can use the [HTTP API](/docs/connections/sources/catalog/libraries/server/http-api/) source to collect data from the tool's API. You can also use [Functions](/docs/connections/functions/) to send or receive data from other tools.
5353
5454
## Types of sources
5555

@@ -167,7 +167,7 @@ Cloud app sources empower you to pull together data from all of your different t
167167
These Cloud App Sources can export data from its third party tool and import it directly into your Segment warehouse. Make sure you have a Segment warehouse enabled before you enable any of the following sources:
168168

169169
{: .columns }
170-
{% capture source-type-list %} {% include content/cloud-source-type-list.md type="object" %} {%endcapture%}
170+
{% capture source-type-list %} {% include content/cloud-source-type-list.md type="object" %} {% endcapture %}
171171
{{source-type-list | markdownify}}
172172

173173

@@ -176,7 +176,7 @@ These Cloud App Sources can export data from its third party tool and import it
176176
These Cloud App Sources can not only export data into your Segment warehouse, but they can **also** federate the exported data into your other enabled Segment integrations:
177177

178178
{: .columns }
179-
{% capture source-type-list %} {% include content/cloud-source-type-list.md type="event" %} {%endcapture%}
179+
{% capture source-type-list %} {% include content/cloud-source-type-list.md type="event" %} {% endcapture %}
180180
{{source-type-list | markdownify}}
181181

182182
### HTTP

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/connections/storage/catalog/postgres/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ This error can be caused for a few reasons:
200200
- Your warehouse went offline.
201201
- There's a setting needed for Segment to connect which hasn't been correctly configured. Refer to the [Warehouse documentation](/docs/connections/storage/warehouses/) to ensure all steps outlined there have been followed.
202202

203-
### Schema <schema_name> does not exist
203+
### Schema `<schema_name>` does not exist
204204
The syncs are failing due to a permissions issue. It looks like the user connected does not have permission to create schemas in your warehouse.
205205

206206
To resolve these errors Segment recommends connecting to your warehouse using the owner account, or granting permissions to the current account you use to connect to Segment. You can correct these permissions by running the following SQL statement - Replace `user` with the account you use to connect to Segment, and run this statement for each schema in the warehouse.

src/connections/storage/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ Segment offers several [Data Storage Destinations](/docs/connections/storage/cat
1414
- [Google Cloud Storage](/docs/connections/storage/catalog/google-cloud-storage/) (available to all users)
1515
- [Segment Data Lakes](/docs/connections/storage/data-lakes/) (available to Business Tier customers only)
1616

17-
18-
19-
{% include components/reference-button.html href="https://segment.com/academy/intro/why-you-should-own-your-data/?referrer=docs" icon="media/academy.svg" title="Analytics Academy: Why you should own your data" description="Although the sharing economy is eroding the idea of “ownership,” when it comes to analytics data, we strongly believe that you should own it." %}
17+
{% include components/reference-button.html href="https://segment.com/academy/intro/why-you-should-own-your-data/?referrer=docs" icon="media/academy.svg" title="Analytics Academy: Why you should own your data" description="Although the sharing economy is eroding the idea of ownership, when it comes to analytics data, we strongly believe that you should own it." %}
2018

2119
<!-- TODO:
2220

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

0 commit comments

Comments
 (0)