Skip to content

Commit 9a85dfc

Browse files
committed
feat: add events.win destination docs
1 parent 3e2ff3d commit 9a85dfc

File tree

1 file changed

+42
-0
lines changed
  • src/connections/destinations/catalog/events.win

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: events.win Destination
3+
rewrite: true
4+
strat: facebook
5+
id: 5661eb58e954a874ca44cc07
6+
---
7+
8+
[events.win](https://events.win/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="\_blank”} provides a single platform to create your tracking plan, sync event definitions to your code, and see detailed metrics on how correct your data is. With events.win, you can ensure that your tracking is accurate and up-to-date.
9+
10+
This destination is maintained by events.win. For any issues with the destination, [contact the events.win support team](mailto:[email protected]).
11+
12+
## Getting started
13+
14+
1. From your workspace's [Destination catalog page](https://app.segment.com/goto-my-workspace/destinations/catalog){:target="\_blank”} search for "events.win"
15+
2. Select events.win and click **Add Destination**
16+
3. Select an existing Source to connect to events.win (Actions).
17+
4. Go to the [events.win dashboard](https://app.events.win/developers){:target="\_blank"}, find and copy the **Developer key**.
18+
5. Enter the **Developer Key** in the events.win destination settings in Segment.
19+
6. That's it! events.win will start to receive data from Segment, there may be a delay before data is visible in the events.win dashboard.
20+
21+
## Supported methods
22+
23+
events.win supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
24+
25+
### Track
26+
27+
[Track](/docs/connections/spec/track) calls are consumed and validated against the tracking plan you've defined in events.win. We don't store the data, but we do provide a detailed report on how correct your data is.
28+
29+
You can use the [@events.win/cli](https://www.npmjs.com/package/@events.win/cli) to generate type-safe tracking code for your events.
30+
31+
```js
32+
/**
33+
* Example:
34+
* events.win will look at your spec for the event `login-button-clicked` and validate the properties `handle` and `id` are present and have the correct data type.
35+
*/
36+
analytics.track("login-button-clicked", {
37+
user: {
38+
handle: "frodo.baggins",
39+
id: "123456789",
40+
},
41+
});
42+
```

0 commit comments

Comments
 (0)