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
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/friendbuy/index.md
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,11 @@
2
2
title: Friendbuy Destination
3
3
cmode-override: true
4
4
---
5
+
Friendbuy is a referral marketing and campaign optimization platform.
5
6
6
7
## Getting Started
7
8
8
-
Setting up Friendbuy is very simple!
9
+
{% include content/connection-modes.md %}
9
10
10
11
1. Log in to your Friendbuy account and go to **Integration Code**.
11
12
2. Copy the **Site ID** above the snippet box.
@@ -16,31 +17,35 @@ Setting up Friendbuy is very simple!
16
17
17
18
This destination allows you to:
18
19
19
-
- Map your Page calls to facilitate[Widget Management](http://developers.friendbuy.com/#widget-management)
20
-
- Map your Identify calls to facilitate[Customer Tracking](http://developers.friendbuy.com/#customer-tracking)
21
-
- Map your Track calls to facilitate[Order Tracking](http://developers.friendbuy.com/#order-tracking) and [Product Tracking](http://developers.friendbuy.com/#product-tracking)
20
+
- Map your Page calls to enable[Widget Management](http://developers.friendbuy.com/#widget-management)
21
+
- Map your Identify calls to enable[Customer Tracking](http://developers.friendbuy.com/#customer-tracking)
22
+
- Map your Track calls to enable[Order Tracking](http://developers.friendbuy.com/#order-tracking) and [Product Tracking](http://developers.friendbuy.com/#product-tracking)
22
23
23
24
24
25
## Page
25
26
26
27
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**.
27
28
28
29
29
-
There are two types of Widgets you can map to your Page calls:
30
+
Friendbuy has two Widgets you can map to your Page calls:
30
31
31
-
- Site Wide Widgets
32
-
- These types of widgets are recommended by Friendbuy to load on all your webpages. If you wish to use these types of widgets, you can add them under the *Side Wide Widgets* setting. _NOTE_: You are NOT required to map a site wide widget if the **Call To Action** type is a ribbon served by Friendbuy. This type of overlay widget will just load when we boot up Friendbuy's library.
32
+
**Site Wide Widgets**
33
33
34
-
- Other widgets
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.
34
+
Friendbuy recommends you to load these widgets on all your web pages. To use these widgets, you can add them under the *Side Wide Widgets* setting.
36
35
37
36
> 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.
37
+
> You don't need to map a site wide widget if the **Call To Action** type is a ribbon served by Friendbuy. This overlay widget loads when Segment loads the Friendbuy library.
39
38
39
+
**Other widgets**
40
+
41
+
All other widgets will fall under this category whereby you can map the `name` of a unique Segment `.page()` call to a widget ID.
42
+
43
+
> info ""
44
+
> If you have mapped a site wide overlay widget, it loads on every `.page()` call.
40
45
41
46
## Identify
42
47
43
-
When you call `.identify()`, we will send the following mapped traits:
48
+
When you call `.identify()`, Segment sends the following mapped traits:
44
49
45
50
|**Segment Traits**|**Friendbuy Standard Fields**|
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:
71
+
If you integrate with Stripe or Chargebee and need send those IDs to Friendbuy, you can pass them as integration specific options:
67
72
68
73
```js
69
74
analytics.identify('2', {
@@ -82,11 +87,11 @@ analytics.identify('2', {
82
87
83
88
## Track / Order Completed
84
89
85
-
This Destination accepts only `Order Completed` events as decribed in our [ecommerce spec](https://segment.com/docs/connections/spec/ecommerce/v2/#order-completed).
90
+
This Destination accepts `Order Completed` events as described in the Segment [ecommerce spec](/docs/connections/spec/ecommerce/v2/#order-completed).
86
91
87
92
Friendbuy has a concept of [Order Tracking](http://developers.friendbuy.com/#order-tracking) and [Product Tracking](http://developers.friendbuy.com/#product-tracking) where the former describes how to send data about the top level order whereas the latter documents instructions on sending data about each of the product within that order.
88
93
89
-
When sending the order details, we will make the following translation:
94
+
When you send order details, Segment makes the following translation:
90
95
91
96
|**Segment Properties**|**Friendbuy Standard Fields**|
0 commit comments