You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ destinationInfo.display_name }} {{ destinationInfo.connection_modes.summary }} {% if destinationInfo.connection_modes.case == "mixed" %} {{destinationInfo.display_name}} accepts device-mode data from {% if destinationInfo.connection_modes.device.mobile and destinationInfo.connection_modes.device.web %} mobile and web{% elsif destinationInfo.connection_modes.device.mobile %} mobile{% elsif destinationInfo.connection_modes.device.web %} web{% endif %} sources.{% endif %} {% if destinationInfo.browserUnbundlingSupported %} You can change the {{destinationInfo.display_name}} connection mode for Analytics.js sources from the destination settings in the Segment web app.
36
+
If you reference it in the <ahref="/docs/guides/filtering-data/#filtering-with-the-integrations-object">Integrations object</a>, call it “{{destinationInfo.previous_names | join: '", or "' }}”.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/friendbuy/index.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
2
title: Friendbuy Destination
3
+
cmode-override: true
3
4
---
4
5
5
6
## Getting Started
@@ -19,15 +20,11 @@ This destination allows you to:
19
20
- Map your Identify calls to facilitate [Customer Tracking](http://developers.friendbuy.com/#customer-tracking)
20
21
- Map your Track calls to facilitate [Order Tracking](http://developers.friendbuy.com/#order-tracking) and [Product Tracking](http://developers.friendbuy.com/#product-tracking)
21
22
22
-
----------
23
+
23
24
## Page
24
25
25
26
To load specific widgets on different web pages, you can configure your settings to map your _named_ Page call(s) to specific Friendbuy Widget(s). You can also configure a several optional [advanced widget configurations](http://developers.friendbuy.com/#widget-options) such as **auto delay** and **custom parameters**.
26
27
27
-
<!-- TODO: convert this long gif into text instrucitons.
There are two types of Widgets you can map to your Page calls:
33
30
@@ -37,9 +34,10 @@ There are two types of Widgets you can map to your Page calls:
37
34
- Other widgets
38
35
- All other widgets will fall under this category whereby you can map the `name` of a unique Segment `.page()` call to a widget ID.
39
36
40
-
_NOTE_: If you have mapped a site wide overlay widget loads on every `.page()` call, even if we have loaded a different widget on the page that you have explicitly mapped.
37
+
> info ""
38
+
> If you have mapped a site wide overlay widget loads on every `.page()` call, even if we have loaded a different widget on the page that you have explicitly mapped.
39
+
41
40
42
-
----------
43
41
## Identify
44
42
45
43
When you call `.identify()`, we will send the following mapped traits:
@@ -61,8 +59,8 @@ analytics.identify('2', {
61
59
});
62
60
```
63
61
64
-
**NOTE**: Friendbuy does not accept any custom traits.
65
-
62
+
> info ""
63
+
> Friendbuy does not accept custom traits.
66
64
### Stripe and Chargebee Customer ID
67
65
68
66
If you are integrated with Stripe or Chargebee and would like to send those IDs to Friendbuy, you can pass them as integration specific options:
@@ -106,12 +104,12 @@ Then we will iterate over each item in your `properties.products` and send the f
106
104
|`price`|`price`|
107
105
|`quantity`|`quantity`|
108
106
109
-
**NOTE**: You can optionally specify if the customer who made the order is a new customer by passing `new_customer` under your integration specific options:
110
-
111
-
```js
112
-
integrations: {
113
-
Friendbuy: {
114
-
newCustomer:true,
115
-
}
116
-
}
117
-
```
107
+
> info ""
108
+
> You can optionally specify if the customer who made the order is a new customer by passing `new_customer` under your integration specific options:
0 commit comments