Skip to content

Commit 6bf462e

Browse files
committed
Merge branch 'develop' into DOC-460-IF
2 parents d56882d + aa512f3 commit 6bf462e

File tree

24 files changed

+656
-214
lines changed

24 files changed

+656
-214
lines changed

src/_data/catalog/overrides.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# it from the `overrides-list.yml` too.
33
items:
44
- slug: criteo-app-web-events
5-
connection_modes:
5+
id: 5787cc5180412f644ff14d7e
66
connection_modes:
77
device:
88
web: true
@@ -13,6 +13,7 @@ items:
1313
mobile: true
1414
server: false
1515
- slug: doubleclick-floodlight
16+
id: 57ab9dfc80412f644ff2004c
1617
connection_modes:
1718
device:
1819
web: true
@@ -23,6 +24,7 @@ items:
2324
mobile: true
2425
server: true
2526
- slug: intercom
27+
id: 54521fd725e721e32a72eec6
2628
connection_modes:
2729
device:
2830
web: true
@@ -33,6 +35,7 @@ items:
3335
mobile: true
3436
server: true
3537
- slug: hubspot
38+
id: 54521fd725e721e32a72eec1
3639
display_name: HubSpot
3740
previous_names:
3841
- HubSpot
@@ -53,6 +56,7 @@ items:
5356
cmode_type: mixed
5457
case: '6'
5558
- slug: iterable
59+
id: 54521fd925e721e32a72eecc
5660
display_name: Iterable
5761
components:
5862
- type: WEB
@@ -71,9 +75,11 @@ items:
7175
cmode_type: mixed
7276
case: '5'
7377
- slug: google-ads-gtag
78+
id: 5a03bfe73156760001ab34ec
7479
previous_names:
7580
- Google AdWords New
7681
- slug: klaviyo
82+
id: 54521fd825e721e32a72eec8
7783
display_name: Klaviyo
7884
previous_names:
7985
- Klaviyo
@@ -96,9 +102,12 @@ items:
96102
cmode_type: mixed
97103
case: '10'
98104
- slug: friendbuy
99-
display_name: Friendbuy
105+
id: 59ce9468cf711e00014a9c12
106+
display_name: Friendbuy (Legacy)
107+
name: Friendbuy (Legacy)
100108
previous_names:
101109
- FriendBuy
110+
- Friendbuy (Legacy)
102111
components:
103112
- code: https://github.com/segment-integrations/analytics.js-integration-friendbuy
104113
type: browser
@@ -143,6 +152,7 @@ items:
143152
required: false
144153
label: Page Widgets
145154
- slug: google-ads-classic
155+
id: 54521fd525e721e32a72ee92
146156
display_name: Google Ads (Classic)
147157
name: Google Ads (Classic)
148158
hidden: false

src/_data/sidenav/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ sections:
219219
title: Redshift Cluster and Redshift Connector Limitations
220220
- path: /connections/storage/warehouses/redshift-tuning
221221
title: Speeding Up Redshift Queries
222+
- path: /connections/storage/warehouses/redshift-useful-sql
223+
title: Useful SQL Queries for Redshift
222224
- path: /connections/test-connections
223225
title: Testing Connections
224226
- path: /connections/data-export-options

src/_includes/content/destination-dossier.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- in the file we're pulling from the API, "name" corresponds with the path to the yml blob for a specific destination.-->
22
{% assign thisDestination = page.id %}
33

4-
{% assign overrideInfo = site.data.catalog.overrides.items % | where: "slug", thisDestination | first %}
4+
{% assign overrideInfo = site.data.catalog.overrides.items % | where: "id", thisDestination | first %}
55

66
{% assign destinationInfo = site.data.catalog.destinations.items | where: "id", thisDestination | first %}
77

@@ -34,8 +34,9 @@
3434
<div class="qi-content">
3535
<h6>Destination Info</h6>
3636
<ul class="qi">
37-
{% if destMethods.size > 0 %}<li>Accepts {% for method in destMethods%}{% if destMethods.size == 1 %}{{method}} calls.{% else %}{% unless forloop.last == true %}{{method}}, {% endunless %}{% if forloop.last == true%}and {{method}} calls.{%endif%}{% endif %}{% endfor %}</li>{% endif %}
37+
{% if destMethods.size > 0 %}<li>Accepts {% for method in destMethods%}{% if destMethods.size == 1 %}{{method}} calls.{% else %}{% unless forloop.last == true %}{{method}}, {% endunless %}{% if forloop.last == true%}and {{method}} calls{%endif%}{% endif %}{% endfor %}</li>{% endif %}
3838
<li>Referred to as <strong>{{destinationInfo.previous_names | join: '</strong>, or <strong>' }}</strong> in the <a href="/docs/guides/filtering-data/#filtering-with-the-integrations-object">Integrations object</a></li>
39+
{% if destinationInfo.status == "PUBLIC_BETA" %}<li>This destination is in <span class="release-pill">Beta</span></li>{% endif %}
3940
</ul>
4041
{% if components.size > 0%}
4142

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
When Segment loads data into your warehouse, each sync goes through two steps:
2+
1. **Ping:** Segment servers connect to your warehouse. For Redshift warehouses, Segment also runs a query to determine how many slices a cluster has. Common reasons a sync might fail at this step include a blocked VPN or IP, a warehouse that isn't set to be publicly accessible, or an issue with user permissions or credentials.
3+
2. **Load:** Segment de-duplicates the transformed data and loads it into your warehouse. If you have queries set up in your warehouse, they run after the data is loaded into your warehouse.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<tr>
22
<td markdown="span">`anonymousId`</td>
3-
<td markdown="span">*optional if userID is set instead*</td>
3+
<td markdown="span">*required; optional if `userID` is set instead*</td>
44
<td markdown="span">String</td>
5-
<td markdown="span">A pseudo-unique substitute for a User ID, for cases when you don't have an absolutely unique identifier. A userId or an anonymousId is required.
6-
5+
<td markdown="span">A pseudo-unique substitute for a User ID, for cases when you don't have an absolutely unique identifier. A `userId` or an `anonymousId` is required.
6+
77
See the [Identities docs](/docs/connections/spec/identify#identities) for more details.
88
</td>
99
</tr>

src/_includes/content/spec-field-user-id.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<tr>
22
<td markdown="span">`userId`</td>
3-
<td markdown="span">*optional if anonymousID is set instead*</td>
3+
<td markdown="span">*required; optional if `anonymousID` is set instead*</td>
44
<td markdown="span">String</td>
55
<td markdown="span">Unique identifier for the user in your database.
66

7-
A userId or an anonymousId is required.
7+
A `userId` or an `anonymousId` is required.
88

99
See the [Identities docs](/docs/connections/spec/identify#identities) for more details.
1010
</td>

src/_sass/components/_quickinfo.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
padding: 10px;
1111
}
1212

13+
.release-pill {
14+
background-color:#E7E4F9;
15+
color: #6E62B6;
16+
text-transform: uppercase;
17+
font-weight: 600;
18+
padding: 0px 6px;
19+
border-radius: 4px
20+
21+
}
22+
1323
@include breakpoint(small down) {
1424
max-width: 100%;
1525
float: none;
@@ -55,7 +65,7 @@
5565
font-size: 14px;
5666
line-height: 24px;
5767
}
58-
ul li:first-of-type {
68+
ul li:not(:last-of-type) {
5969
margin-bottom: 16px;
6070
}
6171
ul li:before{

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ platform for your web and mobile apps. By analyzing the actions your users
99
perform, you can gain a better understanding to drive retention, engagement,
1010
and conversion.
1111

12-
Segment's Amplitude destination code is open source and available on GitHub. Feel free to check it out:
13-
- [JavaScript](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/amplitude)
14-
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude)
15-
- [Android](https://github.com/segment-integrations/analytics-android-integration-amplitude)
16-
12+
Segment's Amplitude destination code is open source and available on GitHub. You can view these repositories:
13+
- [Android](https://github.com/segment-integrations/analytics-android-integration-amplitude){:target="_blank"}
14+
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude){:target="_blank"}
15+
- [JavaScript](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/amplitude){:target="_blank"}
16+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-amplitude){:target="_blank"}
17+
- [Swift](https://github.com/segment-integrations/analytics-swift-amplitude){:target="_blank"}
1718

1819
In addition to the docs below, Amplitude created a [integration guide](https://developers.amplitude.com/docs/segment-amplitude-integration).
1920

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ id: 54521fd525e721e32a72ee8f
55
---
66
[AppsFlyer](https://www.appsflyer.com/) is the world's leading mobile attribution & marketing analytics platform, helping app marketers around the world make better decisions. Our AppsFlyer destination code is open-source. You can browse the code on GitHub for [iOS](https://github.com/AppsFlyerSDK/segment-appsflyer-ios) and [Android](https://github.com/AppsFlyerSDK/AppsFlyer-Segment-Integration).
77

8+
Segment's Appsflyer destination code is open source and available on GitHub. You can view these repositories:
9+
- [Android](https://github.com/AppsFlyerSDK/appsflyer-segment-android-plugin){:target="_blank"}
10+
- [iOS](https://github.com/AppsFlyerSDK/segment-appsflyer-ios){:target="_blank"}
11+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-appsflyer){:target="_blank"}
12+
- [Swift](https://github.com/segment-integrations/analytics-swift-appsflyer){:target="_blank"}
13+
814
## Getting Started
915

1016
{% include content/connection-modes.md %}

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

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ id: 579a568e80412f644ff19cf7
55
---
66
Firebase is Google's platform for mobile apps. The Segment Firebase destination requires that you bundle the Firebase SDK with your project. The Segment-wrapped destination code then runs on the user's device, and sends its tracking calls to the Firebase API endpoints, and a copy to Segment for archiving.
77

8-
98
> info ""
109
> As of October 2019, Firebase replaced the legacy version of Google Analytics Classic for mobile devices. (If you used Google Analytics for mobile, see the [migration guide](/docs/connections/destinations/catalog/google-analytics/migrating/).)
1110
11+
Segment's Firebase destination code is open source and available on GitHub. You can view these repositories:
12+
- [Android](https://github.com/segment-integrations/analytics-android-integration-firebase){:target="_blank"}
13+
- [iOS](https://github.com/segment-integrations/analytics-ios-integration-firebase){:target="_blank"}
14+
- [Kotlin](https://github.com/segment-integrations/analytics-kotlin-firebase){:target="_blank"}
15+
- [Swift](https://github.com/segment-integrations/analytics-swift-firebase){:target="_blank"}
1216

1317
## Getting Started on Android
1418

@@ -112,43 +116,6 @@ If you use Segment's React Native source library, you must explicitly bundle the
112116
4. Change to your iOS directory and run `pod install`.
113117
5. Add the `analytics-react-native-firebase` module to your `build.gradle` file. (See Step.4 of [Getting Started on Android](/docs/connections/destinations/catalog/firebase/#getting-started-on-android))
114118

115-
116-
## Setting up Firebase with Analytics-Kotlin
117-
If you're using the [Analytics-Kotlin library](/docs/connections/sources/catalog/libraries/mobile/kotlin-android), follow these steps to set up Firebase with Analytics-Kotlin:
118-
1. In your top-level `build.gradle` file add these lines:
119-
```kotlin
120-
buildscript {
121-
...
122-
repositories {
123-
google()
124-
}
125-
dependencies {
126-
...
127-
classpath 'com.google.gms:google-services:4.3.5'
128-
}
129-
}
130-
```
131-
2. In your app-module `build.gradle` file add these lines:
132-
```kotlin
133-
...
134-
plugins {
135-
id 'com.google.gms.google-services'
136-
}
137-
138-
dependencies {
139-
...
140-
implementation platform('com.google.firebase:firebase-bom:28.2.1')
141-
implementation 'com.google.firebase:firebase-analytics-ktx'
142-
}
143-
```
144-
3. Copy the [FirebaseDestination.kt](https://github.com/segmentio/analytics-kotlin/blob/main/samples/kotlin-android-app-destinations/src/main/java/com/segment/analytics/destinations/plugins/FirebaseDestination.kt) file into your project's codebase.
145-
4. Copy your `google-service.json` file to your app-module.
146-
5. Go to your project's codebase and add these lines where you intialize the analytics client:
147-
```kotlin
148-
val Firebase = FirebaseDestination()
149-
analytics.add(Firebase)
150-
```
151-
152119
## Identify
153120

154121
When you call `identify` Segment will map to the corresponding Firebase Analytics calls:
@@ -273,7 +240,7 @@ Then, enter the deep link URL scheme in your Segment Firebase destination settin
273240

274241
### **Conversion Tracking and Adwords Conversions**
275242

276-
Firebase is Google's recommended method for reporting conversions to Adwords. To use Firebase, track the conversion events as you normally would with Segment and Segment will send them through to Firebase.
243+
Firebase is Google's recommended method for reporting conversions to Adwords. To use Firebase, track the conversion events as you normally would with Segment and Segment will send them through to Firebase.
277244

278245
### Troubleshooting
279246

0 commit comments

Comments
 (0)