Discourse and Amplitude

Has anyone integrated Amplitude into a Discourse site? I’m wondering if anyone has already come up with best practices or a plugin that sends user IDs and events into the analytics.

1 Like

Not that I know of. It should be possible to use their JavaScript SDK in a similar way to what is being done with thiis Segment theme component: Segment Tracking Theme Component. The other approach would be to make a Discourse Amplitude plugin and make the requests to Amplitude from the server.

6 Likes

Thanks, I’ll use that as a guide.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.