Skip to content

Commit a76f2eb

Browse files
authored
Merge pull request #2380 from segmentio/develop
Release 22.3.2
2 parents 52ec15b + 3ad0a46 commit a76f2eb

File tree

11 files changed

+32
-10
lines changed

11 files changed

+32
-10
lines changed

src/_data/catalog/overrides.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# This file is manually generated. When you add or remove an item, add or remove
22
# it from the `overrides-list.yml` too.
33
items:
4+
- slug: doubleclick-floodlight
5+
connection_modes:
6+
device:
7+
web: true
8+
mobile: false
9+
server: false
10+
cloud:
11+
web: false
12+
mobile: true
13+
server: true
414
- slug: intercom
515
connection_modes:
616
device:

src/_includes/content/connection-modes.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
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 currentSlug = page.url | split: "/" | last %}
3-
{% if page.cmode-override %}
4-
{% assign currentIntegration = site.data.catalog.overrides.items | where: "slug", currentSlug | first %}
5-
{% else %}
3+
{% assign overrideInfo = site.data.catalog.overrides.items % | where: "slug", currentSlug | first %}
4+
5+
6+
67
{% assign currentIntegration = site.data.catalog.destinations.items | where: "slug", currentSlug | first %}
7-
{% endif %}
88

9+
10+
{% if page.cmode-override %}
11+
{% assign connectionModes = overrideInfo.connection_modes %}
12+
{% else %}
913
{% assign connectionModes = currentIntegration.connection_modes %}
14+
{% endif %}
1015

1116
{% if currentIntegration.components.size > 0 %}
1217
<!--don't show a blank table if we can't find any info about these. -->

src/_includes/content/syntax-note.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div class="premonition info"><div class="fa fa-info-circle"></div> <p markdown=1>Based on the library you use, the syntax in the examples might be different. You can find library-specific documentation on the [Sources Overview](/docs/connections/sources/) page.</p></div>

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ In addition to the docs below, please reference the [BytePlus integration guide]
1010

1111
This destination is maintained by BytePlus. For any issues with the destination, please [contact the BytePlus Support team](mailto:[email protected])
1212

13-
Getting Started
14-
13+
## Getting Started
1514

1615
{% include content/connection-modes.md %}
1716

@@ -24,7 +23,7 @@ Getting Started
2423
6. Enter the "API Key" in the "BytePlus" destination settings in Segment.
2524

2625

27-
Page
26+
## Page
2827

2928
If you aren’t familiar with the Segment Spec, take a look at the Page method documentation (https://segment.com/docs/connections/spec/page/) to learn about what it does. An example call would look like:
3029

@@ -36,7 +35,7 @@ analytics.page()
3635

3736
Segment sends Page calls to BytePlus as a `page` event.
3837

39-
Screen
38+
## Screen
4039

4140
If you aren’t familiar with the Segment Spec, take a look at the [Screen method documentation](https://segment.com/docs/connections/spec/screen/) to learn about what it does. An example call would look like:
4241
```obj-c
@@ -45,7 +44,7 @@ If you aren’t familiar with the Segment Spec, take a look at the [Screen metho
4544
4645
Segment sends Screen calls to BytePlus as a`screen`event.
4746
48-
Identify
47+
## Identify
4948
5049
If you aren’t familiar with the Segment Spec, take a look at the [Identify method documentation](https://segment.com/docs/connections/spec/identify/) to learn about what it does. An example call would look like:
5150
@@ -56,7 +55,7 @@ analytics.identify('userId123', {
5655
```
5756
Segment sends Identify calls to BytePlus as an `identify `event with `SSID`.
5857

59-
Track
58+
## Track
6059

6160
If you aren’t familiar with the Segment Spec, take a look at the [Track method documentation](https://segment.com/docs/connections/spec/track/) to learn about what it does. An example call would look like:
6261
```js

src/connections/destinations/catalog/doubleclick-floodlight/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: DoubleClick Floodlight Destination
33
strat: google
4+
cmode-override: true
45
---
56

67
The [DoubleClick Floodlight](https://support.google.com/searchads/answer/7298761?hl=en) destination allows you to make calls directly to Floodlight based on your mapped events. All you have to do is enter your **DoubleClick Advertiser ID** in the Doubleclick Floodlight destinations settings in the Segment App, then map the Segment `track` events to their corresponding Floodlight tags.

src/connections/spec/alias.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Here's the corresponding Javascript event that would generate the above payload.
3232
```js
3333
analytics.alias("507f191e81");
3434
```
35+
{% include content/syntax-note.md %}
3536

3637
Beyond the common fields, the `alias` call takes the following fields:
3738

src/connections/spec/group.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ analytics.group("0e8c78ea9d97a7b8185e8632", {
3535
"total billed": 830
3636
});
3737
```
38+
{% include content/syntax-note.md %}
3839

3940
Beyond the common fields, the `group` call takes the following fields:
4041

src/connections/spec/identify.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ analytics.identify("97980cfea0067", {
4848
logins: 5
4949
});
5050
```
51+
{% include content/syntax-note.md %}
5152

5253
Beyond the common fields, an `identify` call has the following fields:
5354

src/connections/spec/page.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ And here's the corresponding JavaScript event that would generate the above payl
2626
```js
2727
analytics.page("Retail Page","Home");
2828
```
29+
{% include content/syntax-note.md %}
2930

3031
Beyond the common fields, the `page` call takes the following fields:
3132

src/connections/spec/screen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ And here's the corresponding Objective-C event that would generate the above pay
2424
[[SEGAnalytics sharedAnalytics] screen:@"Home"
2525
properties:@{ @"Feed Type": @"private" }];
2626
```
27+
{% include content/syntax-note.md %}
2728
2829
Beyond the common fields, the `screen` call takes the following fields:
2930

0 commit comments

Comments
 (0)