Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2101ada

Browse files
authored
Merge pull request segmentio#349 from segmentio/repo-sync
repo sync
2 parents 9fa1578 + ffe44d4 commit 2101ada

File tree

5 files changed

+43
-32
lines changed

5 files changed

+43
-32
lines changed

src/_data/sidenav/engage.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,27 @@ sections:
8989
title: Message Events
9090
# - path: '/engage/analytics/custom-events'
9191
# title: Custom Events
92-
- section_title: Settings
93-
section:
94-
- path: '/engage/settings/messaging-settings'
95-
title: Messaging Settings
96-
- path: '/engage/settings/identity-resolution'
97-
title: Identity Resolution
98-
- path: '/engage/settings/sources'
99-
title: Sources
100-
- path: '/engage/settings/destinations'
101-
title: Destinations
102-
- path: '/engage/settings/debugger'
103-
title: Debugger
104-
- path: '/engage/settings/connection-policy'
105-
title: Connection Policy
106-
- path: '/engage/settings/warehouse-sources'
107-
title: Warehouse Sources
108-
- path: '/engage/settings/api-access'
109-
title: API Access
110-
- path: '/engage/settings/rename-space'
111-
title: Rename Space
112-
- path: '/engage/settings/labels'
113-
title: Labels
92+
# - section_title: Settings
93+
# section:
94+
# - path: '/engage/settings/messaging-settings'
95+
# title: Messaging Settings
96+
# - path: '/engage/settings/identity-resolution'
97+
# title: Identity Resolution
98+
# - path: '/engage/settings/sources'
99+
# title: Sources
100+
# - path: '/engage/settings/destinations'
101+
# title: Destinations
102+
# - path: '/engage/settings/debugger'
103+
# title: Debugger
104+
# - path: '/engage/settings/connection-policy'
105+
# title: Connection Policy
106+
# - path: '/engage/settings/warehouse-sources'
107+
# title: Warehouse Sources
108+
# - path: '/engage/settings/api-access'
109+
# title: API Access
110+
# - path: '/engage/settings/rename-space'
111+
# title: Rename Space
112+
# - path: '/engage/settings/labels'
113+
# title: Labels
114114
path: '/engage/contact'
115115
title: Support

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ rewrite: true
33
title: Ambassador Destination
44
id: 573a3dfb80412f644ff13679
55
---
6-
[Ambassador](https://www.getambassador.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) empowers companies to easily create, track & manage custom incentives that drive referrals and evangelize their users. The Ambassador Destination is open-source. You can browse the code [on GitHub](https://github.com/segment-integrations/analytics.js-integration-ambassador).
6+
[Ambassador](https://www.getambassador.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) empowers companies to easily create, track & manage custom incentives that drive referrals and evangelize their users.
77

88
## Getting Started
99

1010
{% include content/connection-modes.md %}
1111

12-
1. From the Segment web app, click **Catalog**.
13-
2. Search for "Ambassador" in the Catalog, select it, and choose which of your sources to connect the destination to.
14-
3. In the destination settings, enter your "Client ID" from your Ambassador dashboard, and populate any "Campaigns" to be mapped as per the below [Mapping campaigns to URLs](#mapping-campaigns-to-urls) section.
12+
1. From the Segment web app, click **Catalog**.
13+
2. Search for "Ambassador" in the Catalog, select it, and choose which of your sources to connect the destination to.
14+
3. In the destination settings, enter your "Client ID" from your Ambassador dashboard, and populate any "Campaigns" to be mapped as per the below [Mapping campaigns to URLs](#mapping-campaigns-to-urls) section.
1515

1616

1717
Your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading the Ambassador snippet on your page and sending data.

src/connections/sources/catalog/cloud-apps/facebook-ads/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Collections are the groupings of resources we pull from your source. In your war
4949

5050
| Collection | Type | Description |
5151
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
52-
| ad_accounts | object | An [ad account](https://developers.facebook.com/docs/marketing-api/reference/ad-account) is an account used to manage ads on Facebook |
52+
| ad_accounts | object | An ad account is an account used to manage ads on Facebook |
5353
| ad_sets | object | An [ad set](https://developers.facebook.com/docs/marketing-api/reference/ad-campaign) is a group of ads that share the same daily or lifetime budget, schedule, bid type, bid info, and targeting data |
5454
| ads | object | An [ad](https://developers.facebook.com/docs/marketing-api/reference/adgroup) object contains the data necessary to visually display an ad and associate it with a corresponding ad set. |
5555
| campaigns | object | A [campaign](https://developers.facebook.com/docs/marketing-api/reference/v13.0) is a grouping of ad sets which are organized by the same business objective. |

src/connections/sources/catalog/cloud-apps/nudgespot/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ id: 5GkpcyvNey
44
---
55
{% include content/source-region-unsupported.md %}
66

7-
Nudgespot is the easiest way to trigger emails, SMS, push notifications or in-app messages to your customers, at the right time. [Visit Website](http://www.nudgespot.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners)
7+
Nudgespot is the easiest way to trigger emails, SMS, push notifications or in-app messages to your customers, at the right time. [Visit Website](https://zetaglobal.com/){:target="_blank"}.
88

99
Take your company's email analysis to the next level by **adding Nudgespot as a Source to Segment.** Segment automatically collects email events like `Email Delivered` and `Email Opened`, forward them to your destinations, and load them into your data warehouse. 
1010

src/connections/sources/catalog/libraries/website/javascript/index.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -483,19 +483,19 @@ Destination flags are **case sensitive** and match [the destination's name in th
483483

484484
### Load Options
485485

486+
> info ""
487+
> **Note:** To use this feature, you must be on snippet version 4.1.0 or later. You can get the latest version of the snippet [here](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/#step-2-copy-the-segment-snippet).
488+
486489
You can modify the `.load` method in Analytics.js (the second line of the snippet) to take a second argument. If you pass an object with an `integrations` dictionary (matching the format [above](#selecting-destinations-with-the-integrations-object)), then Segment only loads the integrations in that dictionary that are marked as enabled with the boolean value `true`.
487490

488491
You can only call `.load` on page load, or reload (refresh). If you modify the `.load` method between page loads, it does not have any effect until the page is reloaded.
489492

490-
An example:
493+
For example:
491494

492495
```js
493496
analytics.load('writekey', { integrations: { All: false, 'Google Analytics': true, 'Segment.io': true } })
494497
```
495498

496-
> info ""
497-
> **Note:** To use this feature, you must be on snippet version 4.1.0 or later. You can get the latest version of the snippet [here](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/#step-2-copy-the-segment-snippet).
498-
499499
This way, you can conditionally load integrations based on what customers opt into on your site. The example below shows how you might load only the tools that the user agreed to use.
500500

501501
```js
@@ -504,6 +504,17 @@ onConsentDialogClosed(function(consentedTools){
504504
})
505505
```
506506

507+
#### Bundle Obfuscation
508+
You can also add an `obfuscate` property to the object in the second parameter, which obscures the URL from which your integrations and destination actions are loaded. This helps prevent words that are flagged by ad blockers to not be detected in your URL, enabling the integration to properly load.
509+
510+
For example:
511+
512+
```js
513+
analytics.load('writekey', { obfuscate: true })
514+
```
515+
516+
The `obfuscate` value is `false` by default.
517+
507518

508519
## Retries
509520

0 commit comments

Comments
 (0)