Skip to content

Commit 98c48c3

Browse files
authored
Merge branch 'master' into 09_08_21_weeklyfixes
2 parents 679bed9 + 2534e04 commit 98c48c3

File tree

14 files changed

+1912
-24
lines changed

14 files changed

+1912
-24
lines changed

scripts/catalog_papi.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ const updateSources = async () => {
259259
const hiddenSources = [
260260
'amp',
261261
'factual-engine',
262-
'kotlin-android',
263-
'kotlin',
264-
'swift-ios'
265262
]
266263

267264
sources.forEach(source => {
@@ -394,7 +391,7 @@ const updateDestinations = async () => {
394391
const clonedObj = clone(object);
395392
const targetKey = clonedObj[key];
396393
delete clonedObj[key];
397-
394+
398395
clonedObj[newKey] = targetKey;
399396
return clonedObj;
400397
};

src/_data/catalog/sources.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# sources last updated 2021-09-08
2+
# sources last updated 2021-09-08
33
items:
44
- display_name: .NET
55
slug: net
@@ -355,7 +355,7 @@ items:
355355
source_type: cloud-app
356356
description: >-
357357
Once you have successfully added your credentials we start syncing your
358-
Intercom objects to your warehouse.
358+
Intercom objects to your warehouse.
359359
360360
361361
We will update Intercom data every ~3 hours.
@@ -439,7 +439,7 @@ items:
439439
- display_name: Kotlin
440440
slug: kotlin
441441
url: connections/sources/catalog/libraries/server/kotlin
442-
hidden: true
442+
hidden: false
443443
source_type: server
444444
description: The hassle-free way to add Segment analytics to your kotlin app (JVM).
445445
logo:
@@ -449,7 +449,7 @@ items:
449449
- display_name: Kotlin (Android)
450450
slug: kotlin-android
451451
url: connections/sources/catalog/libraries/mobile/kotlin-android
452-
hidden: true
452+
hidden: false
453453
source_type: mobile
454454
description: >-
455455
The hassle-free way to add Segment analytics to your kotlin app
@@ -507,7 +507,7 @@ items:
507507
source_type: cloud-app
508508
description: >-
509509
Once you have successfully added your credentials we start syncing your
510-
Mailchimp objects to your warehouse.
510+
Mailchimp objects to your warehouse.
511511
512512
513513
We will update Mailchimp data every ~3 hours.
@@ -733,7 +733,7 @@ items:
733733
description: >-
734734
When you enter your Salesforce credentials and hit save, we will sync
735735
Salesforce standard objects (and their corresponding properties) to any
736-
databases you have turned on.
736+
databases you have turned on.
737737
738738
739739
Salesforce data will reflect the state of the object at the time of the
@@ -816,7 +816,7 @@ items:
816816
- display_name: Swift (iOS)
817817
slug: swift-ios
818818
url: connections/sources/catalog/libraries/mobile/swift-ios
819-
hidden: true
819+
hidden: false
820820
source_type: mobile
821821
description: >-
822822
The hassle-free way to add Segment analytics to your swift app (iOS,
@@ -832,7 +832,7 @@ items:
832832
source_type: cloud-app
833833
description: >-
834834
Once you have successfully added your credentials we start syncing your
835-
Twilio objects to your warehouse.
835+
Twilio objects to your warehouse.
836836
837837
838838
We will update Twilio data every ~3 hours.
@@ -904,7 +904,7 @@ items:
904904
905905
Zendesk data will reflect the state of the object at the time of the sync:
906906
so if a ticket status goes from `unassigned` to `assigned` between syncs,
907-
on its next sync that tickets status will be `assigned`.
907+
on its next sync that tickets status will be `assigned`.
908908
909909
910910
We will update Zendesk data every ~3 hours.

src/_data/sidenav/strat.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,20 @@ sections:
157157
- path: /connections/sources/catalog/libraries/mobile/react-native/changelog
158158
title: Analytics-React-Native Changelog
159159

160+
- slug: kotlin
161+
section_title: Analytics-Kotlin Documentation
162+
section:
163+
- path: /connections/sources/catalog/libraries/mobile/kotlin-android/index
164+
title: Analytics-Kotlin (Mobile)
165+
- path: /connections/sources/catalog/libraries/server/kotlin/index
166+
title: Analytics-Kotlin (Server)
167+
- path: /connections/sources/catalog/libraries/mobile/kotlin-android/migration
168+
title: Analytics-Kotlin Migration Guide
169+
170+
- slug: swift
171+
section_title: Analytics-Swift Documentation
172+
section:
173+
- path: /connections/sources/catalog/libraries/mobile/swift-ios/index
174+
title: Analytics-Swift
175+
- path: /connections/sources/catalog/libraries/mobile/swift-ios/migration
176+
title: Analytics-Swift Migration Guide

src/_sass/components/_markdown.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@
144144
top: 0;
145145
left: 0;
146146
}
147-
147+
div.highlighter-rouge {
148+
margin: 15px auto;
149+
}
150+
table {
151+
margin: 15px auto;
152+
}
148153
&>ul,
149154
ol {
150155
margin-top: 0;
74.3 KB
Loading
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
title: Google Enhanced Conversions Actions Destination
3+
hide-boilerplate: true
4+
hide-dossier: true
5+
hidden: true
6+
---
7+
8+
> info ""
9+
> This document is about a feature which is in beta. This means that the destination is in active development, and some functionality may change before it becomes generally available
10+
11+
> success ""
12+
> **Good to know**: This page is about the [Actions-framework](/docs/connections/destinations/actions/) Google Enhanced Conversions Segment destination.
13+
14+
The Google Enhanced Conversions destination enables you to improve the accuracy of your conversion measurement. You can send first-party customer conversion data from your website, such as email address, to Google Ads. Segment hashes this data sends it in a privacy-safe way. Google matches hashed data with signed-in Google accounts to attribute the conversion to ad events, such as clicks or views. To learn more about Google Enhanced Conversions, see Google's documentation [About enhanced conversions (beta)](https://support.google.com/google-ads/answer/9888656?hl=en-GB){:target="_blank"}.
15+
16+
> warning "Before you begin"
17+
> Enable Enhanced Conversions in your Google Ads account. When you authenticate your Segment works space with your Google Account, use a Google Account that is a member of your Google Ads account.
18+
19+
## Getting started
20+
21+
The Actions Google Enhanced Conversions destination is in Private Beta, and does not appear in the Destinations Catalog.
22+
23+
1. To access the destination, navigate to this URL: `https://app.segment.com/<workspace_slug>/destinations/catalog/actions-google-enhanced-conversions`. Replace `<workspace_slug>` with your workspace slug.
24+
2. Click **Configure Actions Google Enhanced Conversions** in the top-right corner of the screen.
25+
3. Select the source to use to send data to Google Enhanced Conversions.
26+
4. Enter your Conversion Tracking ID. For more information, see the article [Google Ads conversions](https://support.google.com/tagmanager/answer/6105160?hl=en){:target="_blank"}.
27+
1. To find your Conversion Tracking ID, log in to Google Ads, and make sure you are in [Expert Mode](https://support.google.com/google-ads/answer/9520605?hl=en){:target="_blank"}.
28+
2. Click **Tools & Settings** in the top bar, and select **Conversions** from the dropdown. Select the **Conversion Action** you want Segment to log to.
29+
3. Open the menu for **Enhanced Conversions**. Enable **Turn on enhanced conversions** and click **Edit code**. then **Use event snippet**.
30+
4. Open the **Tag setup** menu. In the *Select how you want to install your tag* section, select **Install the tag yourself - Add the tag to your website code**.
31+
5. Scroll down to the **Event snippet** and click **Download snippet**.
32+
6. Open the snippet in a text editor, you should see something like the following:
33+
```html
34+
<!-- Event snippet for Purchase conversion page -->
35+
<script>
36+
gtag('event', 'conversion', {
37+
'send_to': 'AW-#########/YdJ9ma7Q-DB2qGvaPapk',
38+
'value': 10.0,
39+
'currency': 'USD',
40+
'transaction_id': ''
41+
});
42+
</script>
43+
```
44+
7. On the line that begins `'send_to`, copy the digits that come directly after `AW-`. For example, if the line reads `'send_to': 'AW-123456789/YdJ9ma7Q-DB2qGvaPapk`, copy `123456789`. This is your Conversion Tracking ID.
45+
5. Click **Configure Actions**.
46+
6. Click **Create Destination**.
47+
48+
### Connect to Google Enhanced Conversions
49+
50+
After you create the destination in your Segment workspace, you can authenticate with Google using OAuth. On the **Settings** tab of the destination, click **Connect to Actions Google Enhanced Conversions**. Follow the prompts to authenticate using OAuth, with a Google login that is a member of the Google Ads account with Enhanced Conversions enabled.
51+
52+
## Create your first Action
53+
54+
Actions define which events Segment sends to Google Enhanced Conversions, and the data that they carry. To create an Action:
55+
56+
1. Navigate to the **Actions** tab on the destination.
57+
2. Click **Add Subscription**, and select **Post Conversion**.
58+
3. Configure the **Event Trigger**. For example, you can trigger the action whenever the source sends an Event named `Purchase`. Click **Continue** to configure the action fields, skip Testing for now. ![The action fires when it receives an event named Purchase](images/gec_trigger.png)
59+
4. Find the Conversion Label. This string is in the Event snippet you downloaded in a previous step. On the line that begins `'send_to'`, copy the string that comes after the Conversion Tracking ID. For example, For example, if the line reads `'send_to': 'AW-123456789/YdJ9ma7Q-DB2qGvaPapk`, copy `YdJ9ma7Q-DB2qGvaPapk`, this is the Conversion Label.
60+
5. Configure the remaining properties. The **Email** field is not editable. In the default configuration, `properties.email` maps to the Email property in Google Enhanced Conversions. If `properties.email` is unavailable, the destination uses `traits.email` as a fallback.
61+
6. When you're finished editing the action fields, click **Continue**. Click **Save**.
62+
7. To test your action, expand the **Test event trigger** section. Segment searches for recent events that match the trigger conditions. If there are no recent events that match the criteria, click **manually enter an event**, and replace the default event data with the following:
63+
```json
64+
{
65+
"messageId": "segment-test-message-hkz2b",
66+
"timestamp": "2021-08-27T17:32:12.781Z",
67+
"context" : {
68+
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
69+
},
70+
"type": "track",
71+
"email": "[email protected]",
72+
"properties": {
73+
"email": "[email protected]",
74+
"orderId": "123",
75+
"firstName": "Bob John",
76+
"lastName": "Smith",
77+
"phone": "14150000000",
78+
"address": {
79+
"street": "123 Market Street",
80+
"city": "San Francisco",
81+
"state": "CA",
82+
"postalCode": "94000",
83+
"country": "USA"
84+
}
85+
},
86+
"userId": "test-user-j75yud",
87+
"event": "Purchase"
88+
}
89+
```
90+
8. Click **Test Event**.
91+
9. Scroll down and expand the **Send a test event** section, and click **Test Action**.
92+
10. The section displays the test result and the payload that Google Enhanced Conversions returns to Segment.
93+
11. Click **Save**.
94+
12. Enable the action with the toggle at the top of the page.
95+
96+
97+
98+
99+

src/connections/destinations/catalog/iterable/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This `identify` event would merge the `mobile` property for this user with any o
5454

5555
## Track
5656

57-
When you call `track` with one of Segment's sources, Segment calls Iterable's [track API endpoint](https://api.iterable.com/api/docs#!/events/track_post_0), and send over the event properties as the data fields in the request. The name of the `track` event appears as a Custom Event in Iterable, and will be available to trigger workflows, segment users, and view analytics.
57+
When you call `track` with one of Segment's sources, Segment calls Iterable's [track API endpoint](https://api.iterable.com/api/docs#events_track), and send over the event properties as the data fields in the request. The name of the `track` event appears as a Custom Event in Iterable, and will be available to trigger workflows, segment users, and view analytics.
5858

5959
If a user does not already exist in Iterable, calling `track` for a user event will add that user into the system. You can track with either an `email` or userId (if a `userId` exists for that email).
6060

src/connections/sources/catalog/libraries/mobile/android/index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
title: 'Analytics for Android'
33
strat: android
44
repo: analytics-android
5-
redirect_from:
6-
- '/connections/sources/catalog/cloud-apps/kotlin-android/'
7-
- '/connections/sources/catalog/cloud-apps/kotlin/'
85
---
96

107

@@ -13,8 +10,8 @@ redirect_from:
1310

1411
Analytics for Android only supports any Android device running API 14 (Android 4.0) and higher. This includes Amazon Fire devices.
1512

16-
> info "Analytics-Kotlin Pilot"
17-
> A pilot release of the analytics-kotlin library is available at the [Analytics-Kotlin](https://github.com/segmentio/analytics-kotlin) repository. This library is governed by Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/), and should not be used in production scenarios.
13+
> info "Analytics-Kotlin public beta"
14+
> The Analytics-Kotlin library is in public beta. You can use Analytics-Kotlin for [mobile](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/index/) or [server](/docs/connections/sources/catalog/libraries/server/kotlin/index/) applications. If you’d like to migrate to Analytics-Kotlin, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/kotlin-android/migration/). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
1815
1916
> success ""
2017
> In addition to the documentation here, you can also [read the Javadocs for all versions of Analytics-Android on Javadoc.io](https://javadoc.io/doc/com.segment.analytics.android/analytics/latest/index.html).

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Analytics for iOS
33
strat: ios
44
repo: analytics-ios
5-
redirect_from: '/connections/sources/catalog/cloud-apps/swift/'
65
---
76

87

@@ -15,9 +14,8 @@ With Analytics for iOS, you can send your data to analytics or marketing tool, w
1514
> **Note:** Segment does not currently support tracking of watchkit extensions for the Apple Watch. [Email us](https://segment.com/requests/integrations/) if you're interested in a Watchkit SDK. For now we recommend tracking watch interactions using the iPhone app code.
1615
1716

18-
> info "Analytics-Swift Pilot"
19-
> A pilot release of the analytics-swift library is available at the [Analytics-Swift](https://github.com/segmentio/analytics-swift) repository. This library is governed by Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/), and should not be used in production scenarios.
20-
17+
> info "Analytics-Swift Public Beta"
18+
> The [Analytics-Swift](/docs/connections/sources/catalog/libraries/mobile/swift-ios/) library is in public beta. If you’d like to migrate to Analytics-Swift, see the [migration guide](/docs/connections/sources/catalog/libraries/mobile/swift-ios/migration/). Segment's [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this library.
2119
2220
## Analytics-iOS and Unique Identifiers
2321

0 commit comments

Comments
 (0)