How to use API to pull metrics from Discourse into Google Analytics?

I’d be interested in collaborating with someone on the how to: on this. I’m not sure I understand what to do, but tracking these events is something I’d really like to do. I’m a cowboy coding marketing guy with enough chops to follow docs but not to figure it out on my own.