Skip to content

Commit 1ad3bef

Browse files
authored
Merge pull request #4759 from segmentio/copy-of-GWEN-source-#4748
Copy of GWEN source #4748
2 parents 5d44bc9 + 1f7c25e commit 1ad3bef

File tree

1 file changed

+112
-2
lines changed
  • src/connections/sources/catalog/cloud-apps/gwen

1 file changed

+112
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,114 @@
11
---
2-
title: 'GWEN Source'
2+
title: "GWEN Source"
33
hidden: true
4-
---
4+
---
5+
6+
## GWEN Source
7+
8+
[GWEN](https://gwenplatform.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="blank"} offers powerful gamification tools and insights to convert, engage, and retain users. With GWEN it has never been easier to understand your users behavior patterns and build better performing products with both speed and accuracy.
9+
10+
This is an [Event Cloud Source](https://segment.com/docs/sources/#event-cloud-sources) which can not only export data into your Segment warehouse, but can also federate the exported data into your other enabled Segment Destinations.
11+
12+
This source is maintained by Insert Coin AB. For any issues with the source, [contact their Support team](mailto:[email protected]).
13+
14+
> info ""
15+
> The GWEN Source is currently in beta, which means that the GWEN support team is actively developing the source. This doc was last updated on May 3rd, 2023. If you're interested in joining the beta program or have any feedback to help improve the GWEN Source and its documentation, [let the GWEN support team know](mailto:[email protected]).
16+
17+
## Getting started
18+
19+
1. From your workspace's [Sources catalog page](https://app.segment.com/goto-my-workspace/sources/catalog) click **Add Source**.
20+
2. Search for "GWEN" in the Sources Catalog, select GWEN, and click **Add Source**.
21+
3. On the next screen, give the Source a nickname and configure any other settings.
22+
- The nickname is used as a label in the Segment app, and Segment creates a related schema name in your warehouse. The nickname can be anything, but Segment recommends using something that reflects the source itself and distinguishes amongst your environments (for example, SourceName_Prod, SourceName_Staging, or SourceName_Dev).
23+
4. Click **Add Source** to save your settings.
24+
5. Copy the Write key from the Segment UI and log in to your GWEN account.
25+
6. Navigate to [Setup Management > Webhooks](http://app.gwenplatform/setup-management/webhooks){:target="blank"} and click the **Set credentials** button next to **Segment Source webhooks**. Paste the key to connect.
26+
27+
## Stream
28+
29+
GWEN uses a stream Source component to send Segment event data. It uses a server-side (select from `track`, `identify`, `page`, `group`) method(s) to send GWEN user data to Segment (Read more about GWEN webhook data [here](app.gwenplatform.com/docs/webhooks/segment)). These events are then available in any destination that accepts server-side events, and also available in a schema in your data warehouse, so you can query using SQL.
30+
31+
The default behavior is for GWEN to pass the userId associated with the user who triggered the given update. This may or may not be a userId that you are keeping track of, depending on under what circumstances the user has been created within GWEN.
32+
For example, users created anonymously by using the [GWEN Analytics script](https://app.gwenplatform.com/docs/gwen-analytics){:target="blank"} will likely have a userId unknown to you.
33+
34+
## Events
35+
36+
The table below lists events that GWEN sends to Segment. These events appear as tables in your warehouse, and as regular events in other Destinations.
37+
38+
<table>
39+
<tr>
40+
<td>Event Name</td>
41+
<td>Description</td>
42+
</tr>
43+
<tr>
44+
<td>achievement_update</td>
45+
<td>Progress was made on an Achievement</td>
46+
</tr>
47+
<tr>
48+
<td>progression_update</td>
49+
<td>Progress was made on a Progression</td>
50+
</tr>
51+
<tr>
52+
<td>mission_update</td>
53+
<td>Progress was made on a Mission path</td>
54+
</tr>
55+
<tr>
56+
<td>shop_item_update</td>
57+
<td>An update related to a specific shop item</td>
58+
</tr>
59+
<tr>
60+
<td>wallet_update</td>
61+
<td>An update related to the users wallet</td>
62+
</tr>
63+
<tr>
64+
<td>webhook_verification</td>
65+
<td>An event only used for validating the connection to Segment</td>
66+
</tr>
67+
</table>
68+
69+
## Event Properties
70+
71+
The table below list the properties included in the events listed above. You can read about specific GWEN mechanic states and updates under **modules** in the [GWEN platform documentation](https://app.gwenplatform.com/docs){:target="blank"}.
72+
73+
<table>
74+
<tr>
75+
<td>Property Name</td>
76+
<td>Description</td>
77+
</tr>
78+
<tr>
79+
<td>`type`</td>
80+
<td>GWEN webhook event type</td>
81+
</tr>
82+
<tr>
83+
<td>`userId`</td>
84+
<td>GWEN user ID</td>
85+
</tr>
86+
<tr>
87+
<td>`timestamp`</td>
88+
<td>A unix timestamp from when the event was triggered</td>
89+
</tr>
90+
<tr>
91+
<td>`segmentId`</td>
92+
<td>The ID of the GWEN segment that the user belongs to. (Nothing to do with Twilio Segment)</td>
93+
</tr>
94+
<tr>
95+
<td>`productId`</td>
96+
<td>The ID of the GWEN product that the user belongs to</td>
97+
</tr>
98+
<tr>
99+
<td>`state`</td>
100+
<td>The current user state of the given mechanic the event relates to</td>
101+
</tr>
102+
<tr>
103+
<td>`updates`</td>
104+
<td>A list of updates specific to the given mechanic that the event relates to</td>
105+
</tr>
106+
</table>
107+
108+
## Adding Destinations
109+
110+
Now that your Source is set up, you can connect it with Destinations.
111+
112+
Log into your downstream tools and check to see that your events appear as expected, and that they contain all of the properties you expect. If your events and properties don’t appear, check the [Event Delivery](https://segment.com/docs/connections/event-delivery/) tool, and refer to the Destination docs for each tool for troubleshooting.
113+
114+
If there are any issues with how the events are arriving in Segment, [contact the GWEN support team](mailto:[email protected]).

0 commit comments

Comments
 (0)