Skip to content

[DOC-498] Added note that Event Tester doesn't work for Track events in the Zendesk destination #2772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/connections/destinations/catalog/zendesk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,18 @@ analytics.track('Article Completed', {
```

> info ""
> You must have a Zendesk [Sunshine plan](https://www.zendesk.com/pricing/?variant=a#platform) to make track calls.
> You must have a Zendesk [Sunshine plan](https://www.zendesk.com/pricing/?variant=a#platform){:target="blank"} to make track calls.

When you make a Track call, Segment sends data about the user's activity to Zendesk.

Segment will only send `track` events when the following two conditions are met:

1. The call is listed in the "Events" setting.
Segment only sends `track` events when the following two conditions are met:
1. The call is listed in the **Events** setting.
2. A `userId` is included.
- **Note:** If the `userId` doesn't match any existing users in Zendesk, the destination returns an error.

> warning ""
> The Zendesk destination Event Tester doesn't work for Track events and only sends the initial GET request. Even if the user ID doesn't match an existing user in Zendesk, it results in a 200 response.

**Mapping Users to an Email**: To map a Segment track event to a Zendesk Sunshine event by email, add the user's email address in the Track call as `properties.email`. This allows Zendesk to tie the event to the user. If there is no `properties.email`, Segment sends the `userId` as `external_id`. If the email is provided in the track call, a javascript call may look like the example below.

```js
Expand All @@ -144,8 +146,10 @@ analytics.track('Article Completed', {
}
});
```

> warning "Zendesk API Limit"
> Track calls to Zendesk must reference a user identifier of less than 61 characters. While you may create a user with an identifier of greater than 60 characters, track calls that reference that user return a 400 error. This is due to a limitation in the Zendesk Sunshine API.

## Group

If you're not familiar with the Segment Specs, take a look to understand what the [Group method](/docs/connections/spec/group/) does. An example call would look like:
Expand Down