Modified client to publish more events so analytics can later pick up those events from the pubsub.