discourse/discourse-segment-io-plugin

Name: discourse-segment-io-plugin

Owner: Discourse

Description: Emits user events to segment.io

Forked from: smasry/discourse-segment-io-plugin

Created: 2017-05-18 13:16:08.0

Updated: 2018-04-25 18:28:50.0

Pushed: 2017-09-04 07:27:18.0

Homepage: null

Size: 11

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Discourse Segment.io Plug-in

Emits user events to segment.io

Current support

Usage

Once installed, the plugin will automatically push the supported events to Segment.io

Backfilling

If you'd like to trigger the segments for existing users, open up a rails console and run the following:

.pluck(:id).each do |uid|
bs.enqueue(:emit_segment_user_identify, user_id: uid)

Installation

Watch Tutorial Video: https://youtu.be/AKR3ki9Kj38

In segment.io you will need a ruby source to receive the incoming events.

Contributing

Please see CONTRIBUTING.md.

License

discourse-segment-io-plugin is Copyright © 2016 Kyle Welsby. It is free software, and may be redistributed under the terms specified in the LICENSE file.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.