Skip to content

Commit d4ceb76

Browse files
authored
Merge pull request #220 from segmentio/repo-sync
repo sync
2 parents d7d690f + c9c6ab0 commit d4ceb76

23 files changed

+196
-20
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

.yarn/install-state.gz

8.77 KB
Binary file not shown.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"posthtml": "^0.16.5",
5959
"posthtml-urls": "^1.0.0",
6060
"search-insights": "^2.0.3",
61+
"semver": "^7.3.5",
6162
"tap-spot": "^1.1.1",
6263
"tippy.js": "5.2.0",
6364
"typewriter": "^7.4.1",

scripts/catalog_papi.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ const updateDestinations = async () => {
330330
let regional = ['us-west']
331331

332332
// We need to be able to keep the system slug in some cases.
333-
const slugOverrides = ['actions-google-enhanced-conversions', 'actions-google-analytics-4', 'actions-facebook-conversions-api', 'actions-friendbuy-cloud', 'sprig-web']
333+
const slugOverrides = ['actions-google-enhanced-conversions', 'actions-google-analytics-4', 'actions-facebook-conversions-api', 'actions-friendbuy-cloud', 'sprig-web', 'google-analytics']
334334
let slug = slugify(destination.name)
335335
if (slugOverrides.includes(destination.slug)) {
336336
slug = destination.slug

src/_data/catalog/destination_categories.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2022-02-11
2+
# destination categories last updated 2022-02-14
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

+66-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2022-02-11
2+
# destination data last updated 2022-02-14
33
items:
44
- destination_id: 60b5d0a01f3726b85dc05aab
55
display_name: 2mee
@@ -20356,11 +20356,11 @@ items:
2035620356
- destination_id: 54521fd725e721e32a72eebb
2035720357
display_name: Google Universal Analytics
2035820358
name: Google Universal Analytics
20359-
slug: google-universal-analytics
20359+
slug: google-analytics
2036020360
hidden: false
2036120361
regional:
2036220362
- us-west
20363-
url: connections/destinations/catalog/google-universal-analytics
20363+
url: connections/destinations/catalog/google-analytics
2036420364
previous_names:
2036520365
- Google Analytics
2036620366
- Google Universal Analytics
@@ -20905,6 +20905,61 @@ items:
2090520905
label: Use Cookies
2090620906
actions: []
2090720907
presets: []
20908+
- destination_id: 61e8726c123c1a81273d00e4
20909+
display_name: GraphJSON
20910+
name: GraphJSON
20911+
slug: graphjson
20912+
hidden: true
20913+
regional:
20914+
- us-west
20915+
url: connections/destinations/catalog/graphjson
20916+
previous_names:
20917+
- GraphJSON
20918+
website: https://graphjson.com
20919+
status: PUBLIC_BETA
20920+
categories:
20921+
- A/B Testing
20922+
- Analytics
20923+
- Customer Success
20924+
- Raw Data
20925+
logo:
20926+
url: >-
20927+
https://public-segment-devcenter-production.s3.amazonaws.com/b41a917b-b575-4f8c-8e65-62053b2fcf00.svg
20928+
mark:
20929+
url: >-
20930+
https://public-segment-devcenter-production.s3.amazonaws.com/ad9dab6d-f82a-40e2-b820-293c0138dad6.svg
20931+
methods:
20932+
track: true
20933+
identify: true
20934+
group: false
20935+
alias: false
20936+
page: true
20937+
platforms:
20938+
browser: true
20939+
mobile: true
20940+
server: true
20941+
components: []
20942+
browserUnbundlingSupported: false
20943+
browserUnbundlingPublic: false
20944+
replay: false
20945+
connection_modes:
20946+
device:
20947+
web: false
20948+
mobile: false
20949+
server: false
20950+
cloud:
20951+
web: false
20952+
mobile: false
20953+
server: false
20954+
settings:
20955+
- name: apiKey
20956+
type: string
20957+
defaultValue: ''
20958+
description: Use the GraphJSON API Key in your account settings
20959+
required: true
20960+
label: API Key
20961+
actions: []
20962+
presets: []
2090820963
- destination_id: 55d37a3f0a20f4e22f0fb3ea
2090920964
display_name: HasOffers
2091020965
name: HasOffers
@@ -21469,6 +21524,14 @@ items:
2146921524
It should look something like this: `dfdbfe6f-e7bf-4938-8e82-7d1938e48ab8`
2147021525
required: true
2147121526
label: API Key
21527+
- name: enableEuropeanDataCenter
21528+
type: boolean
21529+
defaultValue: false
21530+
description: >-
21531+
Select this option if you would like Segment to load the HubSpot SDK for
21532+
EU data residency.
21533+
required: true
21534+
label: Enable EU Data Center
2147221535
- name: loadFormsSdk
2147321536
type: boolean
2147421537
defaultValue: false

src/_data/catalog/regional-supported.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED LIST OF CONNECTIONS THAT SUPPORT REGIONAL
2-
# Last updated 2022-02-11
2+
# Last updated 2022-02-14
33
warehouses:
44
- id: WcjBCzUGff
55
display_name: Azure SQL Data Warehouse
@@ -51,7 +51,7 @@ warehouses:
5151
- us-west
5252
- eu-west
5353
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
54-
# source cateogries last updated 2022-02-11
54+
# source cateogries last updated 2022-02-14
5555
items:
5656
- display_name: A/B Testing
5757
slug: a-b-testing
@@ -1388,8 +1388,8 @@ destinations:
13881388
- us-west
13891389
- id: 54521fd725e721e32a72eebb
13901390
display_name: Google Universal Analytics
1391-
slug: google-universal-analytics
1392-
url: connections/destinations/catalog/google-universal-analytics
1391+
slug: google-analytics
1392+
url: connections/destinations/catalog/google-analytics
13931393
regional:
13941394
- us-west
13951395
- id: 54521fd625e721e32a72eeba
@@ -1398,6 +1398,12 @@ destinations:
13981398
url: connections/destinations/catalog/gosquared
13991399
regional:
14001400
- us-west
1401+
- id: 61e8726c123c1a81273d00e4
1402+
display_name: GraphJSON
1403+
slug: graphjson
1404+
url: connections/destinations/catalog/graphjson
1405+
regional:
1406+
- us-west
14011407
- id: 55d37a3f0a20f4e22f0fb3ea
14021408
display_name: HasOffers
14031409
slug: hasoffers

src/_data/catalog/source_categories.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# source cateogries last updated 2022-02-11
2+
# source cateogries last updated 2022-02-14
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/sources.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# sources last updated 2022-02-11
2+
# sources last updated 2022-02-14
33
items:
44
- id: 8HWbgPTt3k
55
display_name: .NET

src/connections/destinations/catalog/actions-google-enhanced-conversions/index.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ The Google Enhanced Conversions destination enables you to improve the accuracy
2626
2. Search for “Google Enhanced Conversions” in the Destinations Catalog, and select the destination.
2727
3. Click **Configure Google Enhanced Conversions** in the top-right corner of the screen.
2828
4. Select the source that will send data to Google Enhanced Conversions and follow the steps to name your destination.
29-
5. On the **Settings** tab, enter the Conversion ID and click **Save**. Find the Conversion ID in your Google Ads account using the instructions in the article [Google Ads conversions](https://support.google.com/tagmanager/answer/6105160?hl=en){:target="_blank"}. When you log in to Google Ads, enable [Expert Mode](https://support.google.com/google-ads/answer/9520605?hl=en){:target="_blank"}. You'll follow these same instructions to get the Conversion label, which you'll need when you set up your first Mapping, below.
29+
5. On the **Settings** tab, enter the Conversion ID and click **Save**. Find the Conversion ID in your Google Ads account using the instructions in the article [Google Ads conversions](https://support.google.com/tagmanager/answer/6105160?hl=en){:target="_blank"}. When you log in to Google Ads, enable [Expert Mode](https://support.google.com/google-ads/answer/9520605?hl=en){:target="_blank"}. You'll follow these same instructions to get the Conversion Label, which you'll need when you set up your first Mapping, below.
3030
6. On the **Settings** tab, authenticate with Google using OAuth. Click **Connect to Google Enhanced Conversions**. Follow the prompts to authenticate using OAuth, with a Google login that is a member of the Google Ads account with Enhanced Conversions enabled.
3131
7. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
3232

3333

3434
{% capture conv_label %}
35-
#### Find the Conversions label
35+
#### Find the Conversions Label
3636
Enter the Conversion Label. Find the Conversion Label using the instructions in the article [Google Ads conversions](https://support.google.com/tagmanager/answer/6105160?hl=en){:target="_blank"}.
3737
{% endcapture %}
3838

@@ -75,17 +75,20 @@ To test your mapping:
7575

7676
{% include components/actions-fields.html content1=conv_label section1="postConversion" content2=test_mapping section2="postConversion" %}
7777

78-
## Troubleshooting
79-
Follow the steps below if you have issues with Access Tokens or Conversion tracking.
78+
## FAQ & Troubleshooting
79+
80+
### Conversion Tracking with Gtag
81+
82+
To use Google Enhanced Conversions, you must record conversions using the standard Google Ads Conversion tag (Gtag). After a conversion is recorded, you can send hashed first-party data through Segment’s Google Enhanced Conversions destination for up to 24 hours after the conversion. Segment offers a [Google Ads (Gtag) destination](/docs/connections/destinations/catalog/google-ads-gtag/) so you can use your existing Segment implementation to activate Gtag.
83+
84+
Conversions tracked by other means, such as importing goals from Google Analytics, are not eligible for Google Enhanced Conversions.
8085

8186
### Refreshing Access Tokens
8287

8388
When you use OAuth to authenticate into the Google Enhanced Conversions destination, Segment stores an access token and refresh token. Access tokens for Google Enhanced Conversions expire after one hour. Once expired, Segment receives an error and then uses the refresh token to fetch a new access token. This results in two API requests to Google Enhanced Conversions, one failure and one success.
8489

8590
Because of the duplicate API requests, you may see a warning in Google for unprocessed conversions due to incorrect or missing OAuth credentials. This warning is expected and does not indicate data loss. Google has confirmed that conversions are being processed, and OAuth retry behavior will not cause any issues for your web conversions. Whenever possible, Segment caches access tokens to reduce the total number of requests we make to Google Enhanced Conversions.
8691

87-
### Conversion Tracking with Gtag
92+
### Sending App Conversions for Incrementality Studies
8893

89-
To use Google Enhanced Conversions, you must record conversions using the standard Google Ads Conversion tag (Gtag). After a conversion is recorded, you can send hashed first-party data through Segment’s Google Enhanced Conversions destination for up to 24 hours after the conversion. Segment offers a [Google Ads (Gtag) destination](/docs/connections/destinations/catalog/google-ads-gtag/) so you can use your existing Segment implementation to activate Gtag.
90-
91-
Conversions tracked by other means, such as importing goals from Google Analytics, are not eligible for Google Enhanced Conversions.
94+
The Google Enhanced Conversions API does not offer standard reporting for app conversions at this point. As such, Google requires that you set up a new web conversion action specifically for the purposes of app incrementality studies. To send app conversions in your incrementality study, be sure to input the Conversion Label associated with your incrementality study **and** set the App Conversion for Incrementality Study field to `true`. You should create separate web conversion actions in Google Ads for each app event you want to send data for.

src/connections/destinations/catalog/google-analytics/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Google Universal Analytics Destination
33
strat: google
4-
hide-dossier: true
4+
hide-dossier: false
55
redirect_from:
66
- '/connections/destinations/catalog/google-universal-analytics'
77
---
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: 'GraphJSON Destination'
3+
hidden: true
4+
published: false
5+
beta: true
6+
---

yarn.lock

+97
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,35 @@ __metadata:
14671467
languageName: node
14681468
linkType: hard
14691469

1470+
"@fast-csv/format@npm:4.3.5":
1471+
version: 4.3.5
1472+
resolution: "@fast-csv/format@npm:4.3.5"
1473+
dependencies:
1474+
"@types/node": ^14.0.1
1475+
lodash.escaperegexp: ^4.1.2
1476+
lodash.isboolean: ^3.0.3
1477+
lodash.isequal: ^4.5.0
1478+
lodash.isfunction: ^3.0.9
1479+
lodash.isnil: ^4.0.0
1480+
checksum: 36d5fb76c26179bd1718dffd49fc88f4ab62675464d7ec44c5f1de55b8c454ecdf3faf84fe291df934832233f531d24c810a71cc0c390c7c4df09685d614c65b
1481+
languageName: node
1482+
linkType: hard
1483+
1484+
"@fast-csv/parse@npm:4.3.6":
1485+
version: 4.3.6
1486+
resolution: "@fast-csv/parse@npm:4.3.6"
1487+
dependencies:
1488+
"@types/node": ^14.0.1
1489+
lodash.escaperegexp: ^4.1.2
1490+
lodash.groupby: ^4.6.0
1491+
lodash.isfunction: ^3.0.9
1492+
lodash.isnil: ^4.0.0
1493+
lodash.isundefined: ^3.0.1
1494+
lodash.uniq: ^4.5.0
1495+
checksum: 15434d2bc7a71af63a4cc45352a58f6edd69d464233fd6f9a808a8efb9ae326832b4f78d1ddcf9fc3bbf166e9c1dce19671c4de40371a926d60cb7c5a8bad08a
1496+
languageName: node
1497+
linkType: hard
1498+
14701499
"@gar/promisify@npm:^1.0.1":
14711500
version: 1.1.2
14721501
resolution: "@gar/promisify@npm:1.1.2"
@@ -1710,6 +1739,13 @@ __metadata:
17101739
languageName: node
17111740
linkType: hard
17121741

1742+
"@types/node@npm:^14.0.1":
1743+
version: 14.18.11
1744+
resolution: "@types/node@npm:14.18.11"
1745+
checksum: 58f75d05406004b83f1fd4c72115d2c180f22812bd48187b89b27dd9ea09f90774b2261f068e94bf6a6792a1f33a585b624135be3c4b6e2acd766043148754a7
1746+
languageName: node
1747+
linkType: hard
1748+
17131749
"@types/responselike@npm:^1.0.0":
17141750
version: 1.0.0
17151751
resolution: "@types/responselike@npm:1.0.0"
@@ -3736,6 +3772,16 @@ __metadata:
37363772
languageName: node
37373773
linkType: hard
37383774

3775+
"fast-csv@npm:^4.3.6":
3776+
version: 4.3.6
3777+
resolution: "fast-csv@npm:4.3.6"
3778+
dependencies:
3779+
"@fast-csv/format": 4.3.5
3780+
"@fast-csv/parse": 4.3.6
3781+
checksum: 77ae68c08b368a19f2b6e933160d0c5d4934513ef903577c44c84ea08befe1a6638a9480238dfcd55f14c7ddcafdb772c9408dd9d145eca62a147c503ff493a9
3782+
languageName: node
3783+
linkType: hard
3784+
37393785
"fast-deep-equal@npm:^3.1.1":
37403786
version: 3.1.3
37413787
resolution: "fast-deep-equal@npm:3.1.3"
@@ -5105,6 +5151,27 @@ __metadata:
51055151
languageName: node
51065152
linkType: hard
51075153

5154+
"lodash.escaperegexp@npm:^4.1.2":
5155+
version: 4.1.2
5156+
resolution: "lodash.escaperegexp@npm:4.1.2"
5157+
checksum: 6d99452b1cfd6073175a9b741a9b09ece159eac463f86f02ea3bee2e2092923fce812c8d2bf446309cc52d1d61bf9af51c8118b0d7421388e6cead7bd3798f0f
5158+
languageName: node
5159+
linkType: hard
5160+
5161+
"lodash.groupby@npm:^4.6.0":
5162+
version: 4.6.0
5163+
resolution: "lodash.groupby@npm:4.6.0"
5164+
checksum: e2d4d13d12790a1cacab3f5f120b7c072a792224e83b2f403218866d18efde76024b2579996dfebb230a61ce06469332e16639103669a35a605287e19ced6b9b
5165+
languageName: node
5166+
linkType: hard
5167+
5168+
"lodash.isboolean@npm:^3.0.3":
5169+
version: 3.0.3
5170+
resolution: "lodash.isboolean@npm:3.0.3"
5171+
checksum: b70068b4a8b8837912b54052557b21fc4774174e3512ed3c5b94621e5aff5eb6c68089d0a386b7e801d679cd105d2e35417978a5e99071750aa2ed90bffd0250
5172+
languageName: node
5173+
linkType: hard
5174+
51085175
"lodash.isequal@npm:^4.5.0":
51095176
version: 4.5.0
51105177
resolution: "lodash.isequal@npm:4.5.0"
@@ -5119,13 +5186,34 @@ __metadata:
51195186
languageName: node
51205187
linkType: hard
51215188

5189+
"lodash.isfunction@npm:^3.0.9":
5190+
version: 3.0.9
5191+
resolution: "lodash.isfunction@npm:3.0.9"
5192+
checksum: 99e54c34b1e8a9ba75c034deb39cedbd2aca7af685815e67a2a8ec4f73ec9748cda6ebee5a07d7de4b938e90d421fd280e9c385cc190f903ac217ac8aff30314
5193+
languageName: node
5194+
linkType: hard
5195+
5196+
"lodash.isnil@npm:^4.0.0":
5197+
version: 4.0.0
5198+
resolution: "lodash.isnil@npm:4.0.0"
5199+
checksum: ebf8df69879badd6ad99c4f64c54c470248df5cf92b208ca730861b1d8ac058da7b632ac811d18b0929d93cbac8d8fc866e781ee816b0142c56952e85edc682f
5200+
languageName: node
5201+
linkType: hard
5202+
51225203
"lodash.isstring@npm:^4.0.1":
51235204
version: 4.0.1
51245205
resolution: "lodash.isstring@npm:4.0.1"
51255206
checksum: eaac87ae9636848af08021083d796e2eea3d02e80082ab8a9955309569cb3a463ce97fd281d7dc119e402b2e7d8c54a23914b15d2fc7fff56461511dc8937ba0
51265207
languageName: node
51275208
linkType: hard
51285209

5210+
"lodash.isundefined@npm:^3.0.1":
5211+
version: 3.0.1
5212+
resolution: "lodash.isundefined@npm:3.0.1"
5213+
checksum: 52b4d99a47bd41daa4e2860200258f56b1f2c99263c11a5f607fbbd91d6447fe674bdafc172735d099908a09136d4a0f98cf79715e38ca4b490fdda7162be289
5214+
languageName: node
5215+
linkType: hard
5216+
51295217
"lodash.merge@npm:^4.6.1":
51305218
version: 4.6.2
51315219
resolution: "lodash.merge@npm:4.6.2"
@@ -5147,6 +5235,13 @@ __metadata:
51475235
languageName: node
51485236
linkType: hard
51495237

5238+
"lodash.uniq@npm:^4.5.0":
5239+
version: 4.5.0
5240+
resolution: "lodash.uniq@npm:4.5.0"
5241+
checksum: a4779b57a8d0f3c441af13d9afe7ecff22dd1b8ce1129849f71d9bbc8e8ee4e46dfb4b7c28f7ad3d67481edd6e51126e4e2a6ee276e25906d10f7140187c392d
5242+
languageName: node
5243+
linkType: hard
5244+
51505245
"lodash@npm:4.17.20":
51515246
version: 4.17.20
51525247
resolution: "lodash@npm:4.17.20"
@@ -7719,6 +7814,7 @@ __metadata:
77197814
clipboard: ^2.0.8
77207815
concurrently: ^6.2.1
77217816
dotenv: ^10.0.0
7817+
fast-csv: ^4.3.6
77227818
front-matter: ^4.0.2
77237819
glightbox: ^3.1.0
77247820
glob: ^7.1.7
@@ -7734,6 +7830,7 @@ __metadata:
77347830
remark-preset-lint-markdown-style-guide: ^5.1.0
77357831
remark-preset-lint-recommended: ^6.1.0
77367832
search-insights: ^2.0.3
7833+
semver: ^7.3.5
77377834
superagent: ^6.1.0
77387835
tap-spot: ^1.1.1
77397836
tippy.js: 5.2.0

0 commit comments

Comments
 (0)