Get analytics directly into your Segment workspace
After adding Cord to your website, you may be interested in running some analytics. We use Segment in order to log our events. The team at Segment is working on a solution that will allow us to offer partners relevant time.
In the meantime, please contact your Cord contact for a secure way to provide us your Segment write key. Here's how you can locate your write key.
{
"event": "cord-[event-name]",
"userId": "USER_ID",
"properties": {
"location": "http://...",
"group_id": "GROUP_ID"
// other, event-specific properties
}
}All our Segment events start with cord-. This will enable you to use an existing source if you to choose to do so, without the event schemas conflicting. However, we recommend creating a new Segment source for these purposes.
All events include the user ID you have provided us, as well as two permanent properties:
locationgroup_idselect-profilecreate-new-profileclick-upgrade-planupdate-profilenavigate-tocord_locationproperty will contain the tab to which they navigated.render-sidebar-openconnect-service-startedserviceproperty will contain the service the user is connecting; one ofslack, jira, asana, linear.connect-service-successfulserviceproperty.connect-service-failedserviceproperty, as well as a reasonproperty will contain the reason for the failure; one of erroror cancelled.disconnect-serviceserviceproperty.hover-for-presenceinsert-mentioninsert-assigneemessage-sendmessage-updatedmessage-deletedmessage-delete-undonecreate-taskremove-taskthread-resolvedthread-unresolvedsubscribed-to-threadunsubscribed-from-threadtoggle-sidebar-visibilityto = false if closed, or to = true if openedlogoutSome events may contain some additional information which would appear in the properties field of the event:
methodcomposer-text, on-it-reaction.task_providercord, jira,asana, linear.mentionsattachmentsannotationsnew_threadcord_locationinbox,chat.thread_idNot finding the answer you need? Ask our Developer Community