Skip to content

Commit 1f7ed1d

Browse files
authored
Merge pull request #2974 from segmentio/develop
Release 22.22.2
2 parents b6762b0 + 52c8fd5 commit 1f7ed1d

File tree

8 files changed

+102
-86
lines changed

8 files changed

+102
-86
lines changed

src/connections/destinations/catalog/actions-google-analytics-4/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The Google Analytics 4 reports only display active users who engage with your si
8181

8282
If you choose to integrate with Google Analytics 4 client-side (using Gtag outside of Segment) _and_ also use Segment's Google Analytics 4 destination to send events through the API, you can track sessions server-side. When using Gtag, [Google generates a `session_id` and `session_number` when a session begins](https://support.google.com/analytics/answer/9191807?hl=en){:target='_blank'}. The `session_id` and `session_number` generated on the client can be passed as Event Parameters to stitch events sent through the API with the same session that was collected client-side.
8383

84-
You can double-check your session_id and session_number with the [Google Site Tag function](https://developers.google.com/tag-platform/gtagjs/reference){:target='_blank'} or by running this script in your JavaScript console and replacing `G-xxxxxxxxxx` with your GA4 measurement ID:
84+
You can check your `session_id` and `session_number` with the [Google Site Tag function](https://developers.google.com/tag-platform/gtagjs/reference){:target='_blank'} or by running this script in your JavaScript console and replacing `G-xxxxxxxxxx` with your Google Analytics 4 Measurement ID:
8585

8686
```java
8787
const sessionIdPromise = new Promise(resolve => {

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,11 @@ Segment supports these destinations for Analytics React Native 2.0 in device-mod
500500
- [Facebook App Events](https://www.npmjs.com/package/@segment/analytics-react-native-plugin-facebook-app-events){:target="_blank"}
501501
- [Firebase](https://www.npmjs.com/package/@segment/analytics-react-native-plugin-firebase){:target="_blank"}
502502
503+
## FAQs
504+
### Can I use the catalog of device-mode destinations from Segment's 1.X.X React-Native release?
505+
No, only the plugins listed above are supported in device-mode for Analytics React Native 2.0.
506+
### Will I still see device-mode integrations listed as `false` in the integrations object?
507+
When you successfully package a plugin in device-mode, you won't see the integration listed as `false` in the integrations object for a Segment event. This logic is packaged in the event metadata, and isn't surfaced in the Segment debugger.
508+
503509
## Changelog
504510
[View the Analytics React Native 2.0 changelog on GitHub](https://github.com/segmentio/analytics-react-native/releases){:target="_blank"}.

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,11 @@ Segment supports these destinations for Analytics Swift, with more to come:
407407
* [Firebase](https://github.com/segment-integrations/analytics-swift-firebase)
408408
* [Mixpanel](https://github.com/segment-integrations/analytics-swift-mixpanel)
409409

410+
## FAQs
411+
### Can I use the catalog of device-mode destinations from Analytics-iOS?
412+
No, only the plugins listed above are supported in device-mode for Analytics-Swift.
413+
### Will I still see device-mode integrations listed as `false` in the integrations object?
414+
When you successfully package a plugin in device-mode, you will no longer see the integration listed as `false` in the integrations object for a Segment event. This logic is now packaged in the event metadata, and is not surfaced in the Segment debugger.
410415

411416
## Changelog
412417
[View the Analytics-Swift changelog on GitHub](https://github.com/segmentio/analytics-swift/releases).

src/connections/storage/catalog/bigquery/index.md

Lines changed: 77 additions & 83 deletions
Large diffs are not rendered by default.
-1.45 KB
Loading
2.38 KB
Loading

src/engage/overview/onboarding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Start by creating your Twilio account and getting an API key for Engage:
176176
2. In your Twilio console, select the **Account** dropdown menu, then **API keys & tokens**.
177177
3. On the Auth Tokens & API Keys page, click **Create API key**.
178178
4. Enter a name for the API key in the **Friendly name** field.
179-
5. Set the region to **United States (US1) - Default** and key type to **Standard**.
179+
5. Set the region to **United States (US1) - Default** and key type to **Main**.
180180
6. Click **Create API Key**.
181181
7. Copy both the **SID** and **Secret** field contents.
182182

@@ -192,7 +192,7 @@ Start by creating your Twilio account and getting an API key for Engage:
192192
11. Under **Enter your Twilio API Key information** (shown below), paste the Account SID, API Key SID, and API Key Secret you copied above into their respective fields.
193193
12. Click **Verify**, then click **Save Twilio Account.**
194194

195-
<!-- ![Entering Twilio API key into Engage](images/engageapifields.png "Entering Twilio API key into Engage") -->
195+
![Entering Twilio API key into Engage](images/engageapifields.png "Entering Twilio API key into Engage")
196196

197197
> info ""
198198
> If you’re unable to verify your Account SID, SID, or API Key secret, you may have copied an extra space at the end of one or the other. Verify that you’ve not added any extra characters or spaces, then try to verify again.

src/engage/profiles/user-subscriptions/set-user-subscriptions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ Use Segment’s APIs to manage user subscriptions programmatically on an ongoing
5353

5454
Managing subscriptions with Segment's APIs allows you to handle continuous updates of subscription statuses, like when users subscribe to your marketing campaigns on a website form or modify their subscription from within a notification center.
5555

56+
### Receive subscription confirmation with the Public API
57+
58+
To receive an API response that confirms Segment has both received and processed subscription status requests, use Segment's [Public API](https://api.segmentapis.com/docs/spaces/#replace-messaging-subscriptions-in-spaces){:target="_blank"}.
59+
60+
For example, if a user updates their subscription state in your notification center:
61+
62+
1. Use the [Public API](https://api.segmentapis.com/docs/spaces/#replace-messaging-subscriptions-in-spaces){:target="_blank"} synchronous call to update their subscription state.
63+
2. The API returns an immediate success or failure response.
64+
3. For successful requests, Segment instantly updates subscription states in your workspace. `Subscribed` email and phone numbers will receive messages from Engage campaigns that they are a part of.
65+
4. You can then display successful updates or error messages with users in your notification center.
66+
5667
## The `track` call versus using the Public API
5768

5869
When you use the `track` call, Segment replies with a standard HTTP `200 OK` status response code if it successfully received the request. Because the `track` call updates user traits asynchronously, though, the `200 OK` code indicates that Segment has received, but not yet processed, the request. As a result, use the `track` call for non-critical subscription updates, like form signups on your website or adding a subscription from within the user's notification center.

0 commit comments

Comments
 (0)