Skip to content

Commit 5660cfb

Browse files
authored
Merge pull request #3637 from segmentio/develop
Release 22.41.1
2 parents 046dd4b + 57108c9 commit 5660cfb

File tree

13 files changed

+253
-26
lines changed

13 files changed

+253
-26
lines changed

scripts/checklinks-internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const checkForDeadLocalUrls = async () => {
6767
// For ease of checking, replace the localhost domain with the live domain, add those to a new array.
6868
let broke = []
6969
deadUrls.forEach(url => {
70-
link = url.replace('http://localhost:3000', 'https://engage-ga--segment-docs-private.netlify.app/docs')
70+
link = url.replace('http://localhost:3000', 'https://segment.com/docs')
7171
if (!link.endsWith('/')){
7272
link = link+'/'
7373
}
@@ -79,7 +79,7 @@ const checkForDeadLocalUrls = async () => {
7979
// For those, we want to remove them from the list of dead links, because they aren't dead.
8080

8181
// app-nginx redirects
82-
const redirects = ['https://engage-ga--segment-docs-private.netlify.app/docs/guides/usage-and-billing/','https://engage-ga--segment-docs-private.netlify.app/docs/connections/sources/catalog/libraries/website/plugins/', 'https://engage-ga--segment-docs-private.netlify.app/docs/assets/docs.bundle.js/']
82+
const redirects = ['https://segment.com/docs/guides/usage-and-billing/','https://segment.com/docs/connections/sources/catalog/libraries/website/plugins/', 'https://segment.com/docs/assets/docs.bundle.js/']
8383

8484
// Redirects generated by Jekyll
8585
// Pull the redirects json file
@@ -89,7 +89,7 @@ const checkForDeadLocalUrls = async () => {
8989
if (!key.endsWith('/')){
9090
key = key+'/'
9191
}
92-
redirects.push('https://engage-ga--segment-docs-private.netlify.app/docs'+key.replace('/docs',''))
92+
redirects.push('https://segment.com/docs'+key.replace('/docs',''))
9393
})
9494
// Remove the redirect urls from the list of broken URLs
9595
broke = broke.filter(val => !redirects.includes(val));

src/_data/catalog/destinations_private.yml

Lines changed: 160 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2022-09-19 with Intercom Web (Actions)
2+
# destination data last updated 2022-10-07 with Google Sheets
33
items:
44
- id: 54521fd525e721e32a72ee8e
55
name: AdRoll
@@ -4270,3 +4270,162 @@ items:
42704270
event_metadata:
42714271
'@path': $.properties
42724272
trigger: type = "track"
4273+
- id: 627ea052118e3cd530d28963
4274+
display_name: Google Sheets
4275+
name: Google Sheets
4276+
slug: actions-google-sheets
4277+
previous_names:
4278+
- Google Sheets
4279+
website: https://www.google.com/sheets/about/
4280+
status: PRIVATE_BETA
4281+
logo:
4282+
url: https://cdn.filepicker.io/api/file/5YkyjmfJSzCy09E3pQVK
4283+
mark:
4284+
url: https://cdn.filepicker.io/api/file/pwnFihhWRTqlXE3zND6Q
4285+
methods:
4286+
track: true
4287+
pageview: true
4288+
identify: true
4289+
group: true
4290+
alias: true
4291+
platforms:
4292+
browser: true
4293+
mobile: false
4294+
server: true
4295+
components: []
4296+
browserUnbundlingSupported: false
4297+
browserUnbundlingPublic: false
4298+
replay: false
4299+
settings: []
4300+
actions:
4301+
- id: 6cgExzDArNQSaKL9TwFHTP
4302+
name: Post Sheet
4303+
slug: postSheet
4304+
description: Write values to a Google Sheets spreadsheet.
4305+
platform: CLOUD
4306+
hidden: false
4307+
defaultTrigger: event = "updated" or event = "new"
4308+
fields:
4309+
- id: 3mnKkoj69PYhnMFArQqgwj
4310+
sortOrder: 0
4311+
fieldKey: record_identifier
4312+
label: Record Identifier
4313+
type: STRING
4314+
description: Property which uniquely identifies each row in the spreadsheet.
4315+
placeholder: ''
4316+
defaultValue:
4317+
'@path': $.__segment_id
4318+
required: true
4319+
multiple: false
4320+
choices: null
4321+
dynamic: false
4322+
allowNull: false
4323+
- id: jvr5UEodxuuZGR4stauHqQ
4324+
sortOrder: 1
4325+
fieldKey: operation_type
4326+
label: Operation Type
4327+
type: HIDDEN
4328+
description: >-
4329+
Describes the nature of the operation being performed. Only
4330+
supported values are 'new' and 'updated'.
4331+
placeholder: ''
4332+
defaultValue:
4333+
'@path': $.event
4334+
required: true
4335+
multiple: false
4336+
choices: null
4337+
dynamic: false
4338+
allowNull: false
4339+
- id: 6biHVg61mv8bv3A395zK2
4340+
sortOrder: 2
4341+
fieldKey: spreadsheet_id
4342+
label: Spreadsheet ID
4343+
type: STRING
4344+
description: >-
4345+
The identifier of the spreadsheet. You can find this value in the
4346+
URL of the spreadsheet. e.g.
4347+
https://docs.google.com/spreadsheets/d/{SPREADSHEET_ID}/edit
4348+
placeholder: ''
4349+
defaultValue: ''
4350+
required: true
4351+
multiple: false
4352+
choices: null
4353+
dynamic: false
4354+
allowNull: false
4355+
- id: gpRm7bJCWWWFL2byqWa5dm
4356+
sortOrder: 3
4357+
fieldKey: spreadsheet_name
4358+
label: Spreadsheet Name
4359+
type: STRING
4360+
description: >-
4361+
The name of the spreadsheet. You can find this value on the tab at
4362+
the bottom of the spreadsheet. Please provide a valid name of a
4363+
sheet that already exists.
4364+
placeholder: ''
4365+
defaultValue: Sheet1
4366+
required: true
4367+
multiple: false
4368+
choices: null
4369+
dynamic: false
4370+
allowNull: false
4371+
- id: wgmhCUx43uAymuSeSNdQqq
4372+
sortOrder: 4
4373+
fieldKey: data_format
4374+
label: Data Format
4375+
type: STRING
4376+
description: >-
4377+
The way Google will interpret values. If you select raw, values
4378+
will not be parsed and will be stored as-is. If you select user
4379+
entered, values will be parsed as if you typed them into the UI.
4380+
Numbers will stay as numbers, but strings may be converted to
4381+
numbers, dates, etc. following the same rules that are applied
4382+
when entering text into a cell via the Google Sheets UI.
4383+
placeholder: ''
4384+
defaultValue: RAW
4385+
required: true
4386+
multiple: false
4387+
choices:
4388+
- label: Raw
4389+
value: RAW
4390+
- label: User Entered
4391+
value: USER_ENTERED
4392+
dynamic: false
4393+
allowNull: false
4394+
- id: eqRFLYHkkHpmLVPz8oMU2h
4395+
sortOrder: 5
4396+
fieldKey: fields
4397+
label: Fields
4398+
type: OBJECT
4399+
description: |2-
4400+
4401+
The fields to write to the spreadsheet.
4402+
4403+
On the left-hand side, input the name of the field as it will appear in the Google Sheet.
4404+
4405+
On the right-hand side, select the field from your data model that maps to the given field in your sheet.
4406+
4407+
---
4408+
4409+
4410+
placeholder: ''
4411+
required: true
4412+
multiple: false
4413+
choices: null
4414+
dynamic: false
4415+
allowNull: false
4416+
- id: arRP9FWVYmYQ9NhKKs5tEJ
4417+
sortOrder: 6
4418+
fieldKey: enable_batching
4419+
label: Batch Data to Google Sheets
4420+
type: BOOLEAN
4421+
description: >-
4422+
Set as true to ensure Segment sends data to Google Sheets in
4423+
batches. Please do not set to false.
4424+
placeholder: ''
4425+
defaultValue: true
4426+
required: false
4427+
multiple: false
4428+
choices: null
4429+
dynamic: false
4430+
allowNull: false
4431+
presets: []

src/_data/sidenav/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ sections:
263263
title: Overview
264264
- path: /profiles/identity-resolution/identity-resolution-onboarding
265265
title: Onboarding
266+
- path: /profiles/identity-resolution/space-setup
267+
title: Space Setup
266268
- path: /profiles/identity-resolution/use-cases
267269
title: Use Cases
268270
- path: /profiles/identity-resolution/externalids

src/api/config-api/fql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: Destination Filter Query Language
3+
redirect_from:
4+
- '/docs/config-api/fql'
35
---
46

57
{% include content/papi-ga.html %}

src/api/config-api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ $ curl \
9999

100100
## Reference
101101

102-
For an overview of the API's common design patterns and important information about versioning and compatibility, see the [API Design](/docs/config-api/api-design) document.
102+
For an overview of the API's common design patterns and important information about versioning and compatibility, see the [API Design](/docs/api/config-api/api-design) document.
103103

104-
To see all the API methods and models see the [Segment Config API Reference](https://reference.segmentapis.com/).
104+
To see all the API methods and models see the [Segment Config API Reference](https://reference.segmentapis.com/){:target="_blank"}.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Google Sheets Destination
3+
hide-boilerplate: true
4+
hide-dossier: false
5+
hidden: true
6+
private: true
7+
id: 627ea052118e3cd530d28963
8+
---
9+
10+
The Google Sheets destination allows you to sync your warehouse data to a Google spreadsheet, and automate updates to that spreadsheet as your data changes. This destination allows you to automate the workflow of exporting CSVs from your warehouse.
11+
12+
The Google Sheets destination is intended for use with **Reverse ETL sources only**.
13+
14+
> info ""
15+
> The Google Sheets destination is in beta and is in active development. Some functionality may change before it becomes generally available.
16+
17+
## Getting started
18+
19+
### Create a spreadsheet
20+
1. [Create a new Google spreadsheet](https://docs.google.com/spreadsheets/u/0/create?usp=sheets_home&ths=true){:target="_blank"} in your Google account.
21+
2. Copy the spreadsheet ID from the spreadsheet URL. The spreadsheet ID is the value after `d/` and before `/edit`. For example, if your URL is `https://docs.google.com/spreadsheets/d/1ejq5-UVP0SWZezRsdggzFxMqOmaJwZh7NkKPkQfi0Bb/edit#gid=0` the ID is `1ejq5-UVP0SWZezRsdggzFxMqOmaJwZh7NkKPkQfi0Bb`. You will need this ID when you configure the destination.
22+
23+
### Connect Google Sheets
24+
1. Create and configure your Reverse ETL source.
25+
2. Create a model for the data you plan to sync to Google Sheets.
26+
3. Navigate to the **Reverse ETL > Destinations** tab and click **Add Destination**.
27+
4. Select Google Sheets and click **Next**. Select the source you configured and name the destination.
28+
5. On the **Settings** tab, authenticate the Google Sheets API using OAuth. Select the email account that owns the spreadsheet you created above. Make sure you enable the `See, edit, create, and delete all your Google Sheets spreadsheets` permission.
29+
6. On the **Mappings** tab, click **Add Mapping** and create a Post Sheet mapping. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
30+
7. Enable the destination and configured mappings.
31+
32+
> info ""
33+
> The Google Sheets destination only supports sending new or updated rows to your spreadsheet. Deleting rows is not supported.
34+
35+
{% include components/actions-fields.html %}
36+
37+
## FAQ
38+
39+
### How does Segment know if a row should be added or updated?
40+
41+
The Record Identifier mapping is used to make a distinction between adding a new row or updating an existing row. If two rows have the same Record Identifier, they are considered to be pertaining the same object and will live in the same row. Please ensure Record Identifier is set to a unique field.
42+
43+
### How do I define the columns in my spreadsheet?
44+
45+
The Fields mapping controls which fields in your model will be written as columns. Input the desired column name(s) on the left, and select the data variable that will populate the value for that column on the right. Please note,at least one Field must be configured to send data to Google Sheets otherwise no columns will be created or synced.

src/connections/destinations/catalog/actions-intercom-cloud/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Intercom Cloud Mode (Actions) Destination
33
hide-boilerplate: true
44
hide-dossier: false
5-
hidden: true
6-
private: true
75
id: 62ded0cf5753c743883ca0f3
86
versions:
97
- name: 'Intercom Web (Actions)'

src/connections/destinations/catalog/actions-intercom-web/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Intercom Web (Actions) Destination
33
hide-boilerplate: true
44
hide-dossier: false
5-
hidden: true
6-
private: true
75
id: 62d9daff84a6bf190da9f592
86
hide_action:
97
- id: 5W984Qq59XEQnFYKXKHGeZ

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ To get started with the Analytics-Swift mobile library:
5959
`trackApplicationLifecycleEvents`| The default is set to `true`. <br> This automatically tracks lifecycle events. Set to `false` to stop tracking lifecycle events.
6060
`trackDeepLinks` | The default is set to `true`. <br> This automatically track deep links. Set to `false` to stop tracking Deep Links.
6161

62-
> info ""
63-
> Configuration options such as IDFA collection and automatic screen tracking are found in Segment's [Plugin Examples repo](https://github.com/segmentio/analytics-example-plugins/tree/main/plugins/swift){:target="_blank"}.
64-
6562
## Tracking Methods
6663
Once you've installed the Analytics-Swift library, you can start collecting data through Segment's tracking methods:
6764
- [Identify](#identify)

src/engage/journeys/journeys-analytics.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ The following table shows the three statistics available for a Journey:
3737

3838
Using the date picker, you can view a Journey's analytics over a specific period of time.
3939

40-
The following table shows descriptions of the timeframes you can select:
41-
42-
| Timeframe | Description (based on UTC) |
43-
| --------------- | ------------------------------------ |
44-
| Since yesterday | Yesterday at midnight until now |
45-
| Last 7 days | The past seven days, including today |
46-
| Last 30 days | The past 30 days, including today |
47-
| Last 90 days | The past 90 days, including today |
48-
| Last 180 days | The past 180 days, including today |
40+
The following table shows descriptions of the time frames you can select:
41+
42+
| Time frame | Description (based on UTC) |
43+
| ----------------- | ---------------------------------------------------------- |
44+
| Today | Today, beginning at midnight |
45+
| Yesterday | The day before today |
46+
| Last 7 days | The past seven days, not including today |
47+
| Last 30 days | The past 30 days, not including today |
48+
| Last 90 days | The past 90 days, not including today |
49+
| Last 180 days | The past 180 days, not including today |
50+
| Custom date range | The period between two dates, including the selected dates |

src/engage/profiles/csv-upload.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ You can also [set subscription states](#set-user-subscriptions) for each email a
1010

1111
## Upload a CSV file
1212

13-
To upload a CSV file, navigate to **Engage > Audiences > Profile explorer** and click **Upload CSV**
13+
There are two ways you can navigate to the Upload CSV page:
14+
- Select **Engage > Audiences > Profile explorer** and click **Upload CSV**.
15+
- Select **Profiles > Profile explorer** and click **Upload CSV**.
1416

1517
### 1. Download your CSV template
1618

@@ -19,7 +21,7 @@ Click **Download Template** to download a CSV template with identifier columns f
1921
> info ""
2022
> CSV files can only have a single **email** and **phone** identifier column. Include any additional email addresses or phone numbers for a user profile as a separate row.
2123
22-
Navigate to **Profiles > Profiles Settings** and select the **Identity resolution** tab to view or add identifiers in your Segment workspace.
24+
Navigate to **Profiles > Profiles settings** and select the **Identity resolution** tab to view or add identifiers in your Segment workspace.
2325

2426
### 2. Fill out your CSV file
2527

@@ -51,7 +53,7 @@ Custom traits display in the Custom Traits tab of a user profile in the Profile
5153

5254
Use the Upload History page to view CSV file uploads in your workspace over the last 30 days.
5355

54-
Navigate to **Engage > Audiences > Profile explorer** and click **Upload History**.
56+
Navigate to **Engage > Audiences > Profile explorer** or **Profiles > Profile explorer** and select the **CSV upload history** tab.
5557

5658
Select links to view CSV files and any associated [error reports](#error-reports). View the status of the file upload and the custom trait name added to user profiles in the CSV upload.
5759

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Engage Events Source
3+
plan: engage-foundations
4+
hidden: true
5+
---
6+
7+
> info ""
8+
> The Engage Events Source is in beta.
9+
10+
Use the Engage Events Source to sync Engage subscription states to your downstream warehouses.
11+
12+
## Update downstream subscription states
13+
14+
With Twilio Engage, you can [set and update user subscription states](/docs/engage/user-subscriptions/set-user-subscriptions/) with a [CSV file upload](/docs/engage/profiles/csv-upload/) or, programmatically, [using Segment APIs](/docs/engage/user-subscriptions/set-user-subscriptions/#manage-user-subscriptions-with-segment-apis).
15+
16+
As part of Engage, Segment creates an Engage Events Source that lets you sync these subscription states [to warehouses Destinations](/docs/connections/storage/warehouses/). When a subscription state changes, Segment sends an update to the warehouse. As a result, the subscription states stored in your data warehouse(s) can serve as a single source of truth for managing user consent in other tools that you may have connected to your warehouse.
17+
18+
## Working with Engage Events Sources
19+
20+
Segment generates Engage Sources automatically. If you're using Engage, you can find the Source in your Segment space by navigating to **Connections > Sources**. Segment sets a `Generated` status to Engage Sources in the Statuses column of the **My Sources** table.
21+
22+
From the **My Sources** table, you can select the Engage Source to add a warehouse Destination and configure the Source's settings. If you have more than one Engage space, Segment creates a separate Source for each space.

src/segment-app/iam/labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Workspace owners can assign bulk assign labels to sources and Spaces using the "
5454

5555
##### Where can labels be used?
5656

57-
Once a label has been created and has been assigned to resources within the workspace, workspace owners can use these labels to restrict permissions on user access, restrict which sources can be connected to a Sxspace through a Connection Policy, and organize sources by viewing these labels as columns in the Sources page.
57+
Once a label has been created and has been assigned to resources within the workspace, workspace owners can use these labels to restrict permissions on user access, restrict which sources can be connected to a space through a Connection Policy, and organize sources by viewing these labels as columns in the Sources page.
5858

5959
##### Can I delete a label?
6060

0 commit comments

Comments
 (0)