Skip to content

Commit 10fa8a2

Browse files
author
markzegarelli
authored
Merge pull request #1954 from segmentio/develop
Release 1.39.1
2 parents 3c6969e + 0b03a46 commit 10fa8a2

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

src/connections/destinations/catalog/google-cloud-function/index.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ Before you can process events from Segment, you must provide a Google Cloud Func
2121

2222
1. Go to https://cloud.google.com/functions.
2323
2. Click **VIEW CONSOLE**.
24-
![](images/gcloud1.png)
25-
2624
3. Select a project.
2725
4. Click **CREATE FUNCTION**.
28-
![](images/gcloud2.png)
2926
5. Enter a name for your function, and choose how much memory the function can use.
30-
7. In the **Trigger** field, select `HTTP`. Save the `URL` GCP gives you. You'll use this to configure the Segment destination later.
31-
8. Choose how you'll provide the function's code (in the **Source code** field) and what language the code is written in (in the **Runtime** field).
32-
9. Enter the name of the function as you defined it in your code, in the **Function to execute** field.
33-
10. Click **Create** to save your settings and create the Google Cloud Function.
34-
![](images/gcloud3.png)
27+
6. In the **Trigger** field, select `HTTP`. Save the `URL` GCP gives you. You'll use this to configure the Segment destination later.
28+
7. Choose how you'll provide the function's code (in the **Source code** field) and what language the code is written in (in the **Runtime** field).
29+
8. Enter the name of the function as you defined it in your code, in the **Function to execute** field.
30+
9. Click **Create** to save your settings and create the Google Cloud Function.
31+
32+
33+
### Test the function
34+
35+
Segment recommends that you use the Debugger of the source you intend to connect to the Google Cloud Function destination to inspect the request body of the incoming event. This allows you to build handlers in your function based on accurate incoming data. For more information, see [Testing Connections](/docs/connections/test-connections/).
3536

3637
## Configure the Google Cloud Function Destination
3738

@@ -44,7 +45,7 @@ Once you create the Google Cloud Function, you can set up a Segment destination
4445
3. Click **Configure Google Cloud Function**.
4546
4. Enter the destination settings for this GCF destination.
4647

47-
| Setting | Description |
48-
| -------- | ------------------- |
49-
| **HTTP Trigger** | The URL given under the `Trigger` section when you created the Google Cloud Function. |
48+
| Setting | Description |
49+
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
50+
| **HTTP Trigger** | The URL given under the `Trigger` section when you created the Google Cloud Function. |
5051
| **API Key** (optional) | A string to identify that a request is coming from Segment, if required by the function. <br><br>The API key is injected in the `Authorization` header as a [basic authorization header](https://en.wikipedia.org/wiki/Basic_access_authentication) without password. |

src/connections/sources/catalog/libraries/mobile/ios/ios-faqs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Analytics.shared().track("Clicked Button", properties: nil, options: ["context":
243243
244244
## How can I get the user’s IDFA?
245245
246-
Some destinations, especially mobile attribution tools (e.g. Kochava), require the IDFA (identifier for advertisers). The IDFA appears in Segment calls in the debugger as `context.device.advertisingId`. To capture this value with Analytics-iOS, follow the steps in [Ad-tracking and IDFA](/docs/connections/sources/catalog/libraries/mobile/ios#ad-tracking-and-idfa). Remember that Apple now requires that the user consent to your tracking before you can collect the IDFA.
246+
Some destinations, especially mobile attribution tools (for example, [Kochava](https://www.kochava.com/){:target="_blank"}), require the IDFA (identifier for advertisers). The IDFA appears in Segment calls in the debugger as `context.device.advertisingId`. To capture this value with Analytics-iOS, follow the steps in [Ad-tracking and IDFA](/docs/connections/sources/catalog/libraries/mobile/ios#ad-tracking-and-idfa). Remember that Apple now requires that the user consent to your tracking before you can collect the IDFA.
247247
248248
249249

src/connections/spec/ecommerce/v2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@ This event supports the following semantic properties:
26332633

26342634
Example:
26352635
```js
2636-
analytics.track('Cart Viewed', {
2636+
analytics.track('Cart Shared', {
26372637
share_via: 'email',
26382638
share_message: 'Hey, check out this item',
26392639
recipient: '[email protected]',

src/connections/spec/mobile.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ One of the core components of the Segment [Spec](/docs/connections/spec/) is the
66

77
By standardizing the events that comprise the core **mobile application lifecycle** and associated **mobile campaign and referral events**, Segment and our partners can, wherever possible, automatically collect and forward these events on your behalf and build downstream destinations which take full advantage of the semantic meaning associated with these events and their properties.
88

9-
**Note:** If you're already collecting similar events, we recommend migrating to these event names so that you can take advantage of available features in our destinations which depend on the spec as they become available.
9+
> info ""
10+
> If you're already collecting similar events, we recommend migrating to these event names so that you can take advantage of available features in our destinations which depend on the spec as they become available.
1011
11-
These events pair nicely with our [ecommerce spec](/docs/connections/spec/ecommerce/v2/) for mobile marketplaces to take full advantage of features like dynamic ads in Facebook and the ability to take full advantage of server-side destinations with Mobile Attribution Platforms like Tune and Kochava.
12+
These events pair nicely with our [ecommerce spec](/docs/connections/spec/ecommerce/v2/) for mobile marketplaces to take full advantage of features like dynamic ads in Facebook and the ability to take full advantage of server-side destinations with Mobile Attribution Platforms like [Tune](https://www.tune.com/){:target="_blank"} and [Kochava](https://www.kochava.com/){:target="_blank"}.
1213

13-
**Note** Per our [Privacy Policy](https://segment.com/legal/privacy/#sensitive-personal-information) and applicable terms, don't send us sensitive personal information about your users. Certain features from Segment and our partners allow you to opt-in to automatically track data (for example: Application Installed or Deep Link Clicked). When working with these features and Segment in general, be cognizant of the data that is being tracked to ensure its matching both your obligations under your agreement with Segment and the privacy expectations of your users.
14+
> info ""
15+
> Per the [Privacy Policy](https://segment.com/legal/privacy/#sensitive-personal-information) and applicable terms, don't send us sensitive personal information about your users. Certain features from Segment and our partners allow you to opt-in to automatically track data (for example: Application Installed or Deep Link Clicked). When working with these features and Segment in general, be cognizant of the data that is being tracked to ensure its matching both your obligations under your agreement with Segment and the privacy expectations of your users.
1416
1517
## Overview of Events
1618

0 commit comments

Comments
 (0)