I’m attempting to write my first plugin for Discourse. Something I want for my own forum: Segment.io integration.
One thing I like about Segment is that, once set up, I can simply enable and disable items in my Segment dashboard and I’ll have user and usage data pushed to those services.
I don’t know much about writing plugins for discourse and this does not work yet. I figured I would post in here in case anyone was interested in having Segment and wanted to contribute to the project.
Here is the ruby integration: Segment
I think we have to use the ruby integration rather than the more simple JS-only because of all the ajax stuff going on in Discourse. We would want to track those items for integrations like Mixpanel and whatnot.