Skip to content

Commit 07d64e6

Browse files
author
markzegarelli
authored
Update connection mode overrides (#2350)
1 parent 0ab608a commit 07d64e6

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-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/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.

0 commit comments

Comments
 (0)