|
| 1 | +# Lumen Destination |
| 2 | + |
| 3 | +[Lumen](https://uselumen.co/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) helps companies engage efficiently with the right customers with ease via data-driven messaging through push notifications, SMS and emails to meet business and marketing objectives. |
| 4 | + |
| 5 | +From drip campaigns, special coupon offers, growth hacking, activating inactive customers, e.t.c., we do the heavy lifting while you focus on other business operations. |
| 6 | + |
| 7 | + |
| 8 | +This destination is maintained by Lumen. For any issues with the destination, [contact the Lumen Support team ](mailto:[email protected]). |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | +## Getting Started |
| 13 | + |
| 14 | + |
| 15 | +{% include content/connection-modes.md %} |
| 16 | + |
| 17 | +1. From the Destinations catalog page in the Segment App, click **Add Destination**. |
| 18 | +2. Search for "Lumen" in the Destinations Catalog, and select the "Lumen" destination. |
| 19 | +3. Choose which Source should send data to the "Lumen" destination. |
| 20 | +4. Go to the [Lumen dashboard](https://app.uselumen.co){:target="_blank"}, visit the settings page, navigate to the API tab and copy your "API key". |
| 21 | +5. Enter the "API Key" in the "Lumen" destination settings in Segment. |
| 22 | + |
| 23 | +## Supported methods |
| 24 | + |
| 25 | +Lumen supports the following methods, as specified in the [Segment Spec](/docs/connections/spec). |
| 26 | + |
| 27 | +### Identify |
| 28 | + |
| 29 | +Send [Identify](/docs/connections/spec/identify) calls to create or update a user's record. The `userId` becomes the user's primary identifier. |
| 30 | + |
| 31 | +```js |
| 32 | +analytics.identify('userId123', { |
| 33 | + |
| 34 | +}); |
| 35 | +``` |
| 36 | + |
| 37 | +If the identifier doesn't exist, a new user record is created. If the identifier already exist, we update the user record For example: |
| 38 | + |
| 39 | +Segment sends Identify calls to Lumen as an `identify` event. |
| 40 | + |
| 41 | + |
| 42 | +### Track |
| 43 | + |
| 44 | +Send [Track](/docs/connections/spec/track) calls to track a user's activity or action. For example: |
| 45 | + |
| 46 | +```js |
| 47 | +analytics.track('Login Button Clicked') |
| 48 | +``` |
| 49 | + |
| 50 | +Segment sends Track calls to Lumen as a `track` event. |
| 51 | + |
| 52 | +--- |
0 commit comments