Skip to content

Commit e95ac55

Browse files
authored
Merge pull request #179 from segmentio/repo-sync
repo sync
2 parents 87f77ba + 07d64e6 commit e95ac55

File tree

10 files changed

+27
-4
lines changed

10 files changed

+27
-4
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/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

src/connections/spec/track.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ analytics.track("User Registered", {
2929
accountType: "Facebook"
3030
});
3131
```
32+
{% include content/syntax-note.md %}
3233

3334
Beyond the common fields, the `track` call has the following fields:
3435

0 commit comments

Comments
 (0)