Maybe this conversation and the library attached will be helpful?
I’m not entirely sure what you mean by “pushing arbitrary data,” but I’m guessing you mean something unrelated to a typical user interaction event like a click and so on; is that right?