Skip to content

Commit 44eceec

Browse files
authored
[PR-25736] Tango integration docs (#418)
1 parent b228621 commit 44eceec

File tree

5 files changed

+79
-0
lines changed

5 files changed

+79
-0
lines changed
89.4 KB
Loading
87.5 KB
Loading

source/advanced_features.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,6 @@ each with links to integration details.
124124
advanced_features/single_sign_on
125125
advanced_features/multi_currency
126126
advanced_features/sheerid
127+
advanced_features/tango
127128
advanced_features/tremendous
128129
advanced_features/google_login

source/advanced_features/tango.rst

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
.. _advanced_features/tango:
2+
.. include:: /partials/common.rst
3+
4+
.. meta::
5+
:description: Integrate Tango with your Talkable system to generate gift claim links and manage campaign-specific rewards.
6+
7+
Tango Integration
8+
#################
9+
10+
This documentation provides a guide on integrating the Tango rewards with your Talkable system.
11+
By enabling this feature, you can generate gift claim links for users and customize reward amounts based on campaign settings.
12+
13+
Tango integration consists of several parts:
14+
15+
1. A Reward Link reward option in Tango portal.
16+
17+
3. A Tango application installed from Talkable App Store. This application is responsible
18+
for storing all the necessary data required for Talkable to request gift cards from Tango and insert the generated
19+
claim links in the referral campaign theme.
20+
21+
2. A referral campaign in Talkable having the following attributes:
22+
23+
- An Advocate Referral Incentive with "Tango" reward type
24+
25+
- A :ref:`"tango" Liquid filter <liquid_filter_tango>` used in Reward Paid Email Page.
26+
27+
The filter generates a claim link for the specified reward in Tango.
28+
29+
.. code-block:: html
30+
31+
<!-- An example of the claim link leading to Tango -->
32+
<a href="{{ 'U957978' | tango: amount: 10 }}" target="_blank" title="{{ cta_text }}">
33+
{{ cta_text }}
34+
</a>
35+
36+
How to find the reward ID (UTID)
37+
................................
38+
39+
To use the `tango` Liquid filter, you will need to obtain the reward ID (called UTID) in the Tango portal:
40+
41+
1. In the "Send rewards" portal section, select and click the Reward Link you intend to use to reward advocates in Talkable.
42+
43+
2. On the reward details page, click "View all reward details".
44+
45+
.. image:: /_static/img/advanced_features/tango_open_reward_details.png
46+
:scale: 50%
47+
:alt: Open Tango reward details
48+
49+
3. Copy the "UTID" value and use it with the `tango` filter in the Talkable campaign theme.
50+
51+
.. image:: /_static/img/advanced_features/tango_copy_utid.png
52+
:scale: 50%
53+
:alt: Copy Tango UTID
54+
55+
.. note::
56+
57+
Make sure to only copy the value of UTID, i.e "U957978".
58+
59+
.. include:: /partials/contact_us.rst

source/campaigns/editor/filters.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,25 @@ Returns ``strip me``.
11811181

11821182
|hr|
11831183

1184+
.. _liquid_filter_tango:
1185+
1186+
tango
1187+
.....
1188+
1189+
Takes the ID (UTID) of a Tango reward.
1190+
Places an order for the specified reward and returns a gift claim link.
1191+
Requires the Tango app to be installed and enabled in order to work.
1192+
1193+
.. code-block:: liquid
1194+
1195+
{{ "U957978" | tango: amount: 10.0 }}
1196+
1197+
Returns ``https://rewardlink.io/r/1/reward123``
1198+
1199+
Find more details about the integration here: :ref:`Tango <advanced_features/tango>`
1200+
1201+
|hr|
1202+
11841203
.. _liquid_filter_tremendous:
11851204

11861205
tremendous

0 commit comments

Comments
 (0)