Skip to content

Commit b17be01

Browse files
authored
Merge branch 'develop' into repo-sync
2 parents 716f448 + b942172 commit b17be01

File tree

37 files changed

+524
-456
lines changed

37 files changed

+524
-456
lines changed

.vscode/yml.code-snippets

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
"prefix": ["- name"],
2121
"body":["- name: ${1:name}\r\tdescription: ${2:description}\r\tdefault: ${3}"],
2222
"description": "Yaml settings"
23-
}
23+
},
24+
"ext_link":{
25+
"prefix": ["{:}"],
26+
"body":["{:target='${1:_blank}'}"]
27+
},
2428
}

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: intercom
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: hubspot
515
display_name: HubSpot
616
previous_names:

src/_data/catalog/warehouse_papi.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
22
# warehouse data last updated 2021-11-16
33
items:
4-
- display_name: amazing-warehouse
5-
slug: amazing-warehouse
6-
description: This warehouse is amazing!
7-
logo:
8-
url: http://default.com
9-
mark:
10-
url: http://mark.com
11-
settings: []
124
- display_name: Azure SQL Data Warehouse
135
slug: azuresqldw
146
description: Connector for Azure SQL Data Warehouse

src/_data/landing.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sections:
44
section:
55
- name: Getting started with Segment
66
icon: getting-started.svg
7-
description: "Learn about Segment, work through a basic implementation, plan a full implementation and learn about features and extensions. "
7+
description: "Learn about Segment, plan and work through a basic implementation, and explore features and extensions."
88
path: /getting-started/
99
- section_title: How can Segment help you?
1010
section_col: 6
@@ -19,22 +19,22 @@ sections:
1919
path: /protocols/
2020
- name: Personalize interactions
2121
icon: personas.svg
22-
description: "Improve customer interactions by building audiences to power personalized experiences."
22+
description: "Improve customer interactions by building audiences that power personalized experiences."
2323
path: /personas/
2424
- name: Respect users' privacy
2525
icon: privacy.svg
26-
description: "Use Segment's tools for data discovery and policy enforcement to keep customer data private."
26+
description: "Keep customer data private with Segment's data discovery and policy enforcement tools."
2727
path: /privacy/
2828

2929
- section_title: Get Data into Segment
30-
section_description: "The Segment Spec provides guidance on meaningful data to capture, and the best format for it, across all of our libraries and APIs. When you use these formats it’s simple to send data to downstream tools."
30+
section_description: "The Segment Spec helps you identify, capture, and format meaningful data for use with Segment libraries and APIs as well as downstream tools."
3131
section_col: 4
3232
section:
3333
- name: Segment calls
34-
description: "Use Track, Page, and Identify, and learn about the other calls Segment tracking is built on."
34+
description: "Use Track, Page, Identify, and other Segment tracking calls."
3535
path: /connections/spec/
3636
- name: Common traits
37-
description: "Save time by letting the Segment calls collect information automatically."
37+
description: "Save time by letting Segment calls collect information for you."
3838
path: /connections/spec/common/
3939
- name: Use case specs
4040
description: "Use our business-case specs to ensure that your tools get the most from your data."
@@ -45,17 +45,17 @@ sections:
4545
section:
4646
- name: Segment for Developers
4747
icon: git-repo.svg
48-
description: "An overview of the basics of your Segment implementation."
48+
description: "The basics of your Segment implementation."
4949
path: /guides/intro-impl/
5050
- name: How-To Guides
5151
icon: book.svg
52-
description: "Over a dozen how-to guides to help you accomplish common tasks."
52+
description: "Over a dozen how-to guides that help you accomplish common tasks."
5353
path: /guides/how-to-guides/
5454

5555
- section_title: Connect your app to Segment
5656
section_col: 4
5757
section:
58-
- name: Javascript
58+
- name: JavaScript
5959
path: /connections/sources/catalog/libraries/website/javascript/
6060
- name: HTTP Tracking API
6161
path: /connections/sources/catalog/libraries/server/http-api/

src/_data/sidenav/strat.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ sections:
2929
- path: /connections/destinations/catalog/facebook-pixel
3030
title: Facebook Pixel destination
3131
- path: /connections/destinations/catalog/facebook-pixel-server-side
32-
title: Facebook Conversions API Destination (Beta)
32+
title: Facebook Conversions API Destination (Classic)
33+
- path: /connections/destinations/catalog/actions-facebook-conversions-api
34+
title: Facebook Conversions API Destination (Actions)
3335
- path: /connections/destinations/catalog/facebook-app-events
3436
title: Facebook App Events destination
3537
- path: /connections/destinations/catalog/facebook-offline-conversions

src/_includes/components/actions-fields.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@
7474

7575
{% for action in actions %}
7676
### {{action.name}}
77-
{{action.description | markdownify}}
77+
<p>{{action.description | markdownify}}</p>
78+
<p>{{action.name}} is a <strong>{{action.platform | capitalize}}</strong> action.</p>
7879

7980

80-
{% if action.fields %}
81+
{% if action.fields.size > 0 %}
8182
<p class="button button-fill button-fill--white" data-toggle="collapse" data-target=".settings-content-{{action.slug}}">Click to expand fields</p>
8283
<div class="collapse settings-content-{{action.slug}}">
8384
<table id="settingsTable">

src/_includes/components/feedback.html

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="flex flex--wrap waffle waffle--large waffle--xxlarge@medium">
2-
<div class="flex__column flex__column--12 flex__column--6@medium flex">
2+
<div class="flex__column flex__column--12 flex__column--4@medium flex">
33
<div class="feedback-box flex flex--stack flex--justify waffle waffle--large@medium">
44
<div class="flex__column flex__column--shrink">
55
<div class="feedback-box__content">
66
<h3>Need support?</h3>
77

8-
<p>Questions? Problems? Need more info? Contact us, and we can help!</p>
8+
<p>Questions? Problems? Need more info? Contact Segment Support for assistance!</p>
99
</div>
1010
</div>
1111

@@ -14,16 +14,24 @@ <h3>Need support?</h3>
1414
</div>
1515
</div>
1616
</div>
17-
18-
<div class="flex__column flex__column--12 flex__column--6@medium flex">
17+
<div class="flex__column flex__column--12 flex__column--4@medium flex">
18+
<div class="flex__column flex__column--shrink">
19+
<div class="feedback-box__content">
20+
<h3>Help improve these docs!</h3>
21+
{%include sidebar/edit-tools.html %}
22+
</div>
23+
</div>
24+
</div>
25+
<div class="flex__column flex__column--12 flex__column--4@medium flex">
1926
<div class="feedback-box flex flex--stack flex--justify waffle waffle--none waffle--large@medium">
2027
<div class="flex__column flex__column--shrink">
2128
<div class="feedback-box__content">
2229
<h3>Was this page helpful?</h3>
2330

2431
<div class="flex gutter gutter--large">
2532
<div class="flex__column flex__column--shrink">
26-
<button class="button button-hollow gutter gutter--small" data-feedback-button="helpful" data-active-class="button-fill button-fill--secondary">
33+
<button class="button button-hollow gutter gutter--small" data-feedback-button="helpful"
34+
data-active-class="button-fill button-fill--secondary">
2735
<span class="button__icon">
2836
{% include icons/symbols/thumb-up.svg %}
2937
</span>
@@ -33,7 +41,8 @@ <h3>Was this page helpful?</h3>
3341
</div>
3442

3543
<div class="flex__column flex__column--shrink">
36-
<button class="button button-hollow gutter gutter--small" data-feedback-button="unhelpful" data-active-class="button-fill button-fill--gray">
44+
<button class="button button-hollow gutter gutter--small" data-feedback-button="unhelpful"
45+
data-active-class="button-fill button-fill--gray">
3746
<span class="button__icon">
3847
{% include icons/symbols/thumb-down.svg %}
3948
</span>
@@ -52,4 +61,5 @@ <h3>Was this page helpful?</h3>
5261
</div>
5362
</div>
5463
</div>
64+
5565
</div>

src/_includes/content/ajs-upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<div class="premonition success"><div class="fa fa-check-square"></div><div class="content"><p class="header">Upgrade to Analytics.js 2.0</p>
2-
<p markdown=1>Actions-based destinations require features found in [Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/). [Upgrade your Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/) source to take advantage of Actions-based destinations, performance improvements, and more.</p>
1+
<div class="premonition success"><div class="fa fa-check-square"></div><div class="content"><p class="header">Analytics.js 2.0</p>
2+
<p markdown=1>Actions-based destinations may require features found in [Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/). If the destination has Web actions and is connected to a javascript source, [upgrade your Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/) source to ensure compatibility.</p>
33
</div></div>

src/_includes/content/destination-dossier.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
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.url | split: "/" | last %}
3+
4+
{% assign overrideInfo = site.data.catalog.overrides.items % | where: "slug", thisDestination | first %}
5+
6+
7+
38
{% assign destinationInfo = site.data.catalog.destinations.items | where: "slug", thisDestination | first %}
49
{% comment %}There are probably prettier ways to generate a list of links to these methods, but this was good enough for me.{% endcomment %}
510
{% assign destMethods = "" | split: ", " %}
@@ -12,14 +17,18 @@
1217
{% assign methodHTML = methodUrl | append: methodName %}
1318
{% assign methodHTML = methodHTML | append: '</a>' %}
1419
{% assign destMethods = destMethods | push: methodHTML %} {%endif%}
20+
21+
{% if page.cmode-override %}
22+
{% assign connectionModes = overrideInfo.connection_modes %}
23+
{% else %}
1524
{% assign connectionModes = destinationInfo.connection_modes %}
25+
{% endif %}
26+
1627
{% assign components = destinationInfo.components %}
1728
{% endfor %}
1829
{% assign destMethods = destMethods| reverse %}
1930

20-
{% if page.cmode-override %}
21-
{% assign destinationInfo = site.data.catalog.overrides.items % | where: "slug", thisDestination | first %}
22-
{% endif %}
31+
2332

2433

2534
<div class="quick-info">

src/_includes/content/warehouse-sync-sched.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Your data will be available in Warehouses between 24 and 48 hours from your first sync. Your warehouse then syncs once, or twice a day depending on your [Segment Plan](https://segment.com/pricing).
1+
Your data will be available in Warehouses between 24 and 48 hours from your first sync. Your warehouse then syncs once or twice a day depending on your [Segment Plan](https://segment.com/pricing).
22

33
Segment allows Business Tier (BT) customers to schedule the time and frequency of warehouse data syncs.
44

0 commit comments

Comments
 (0)