Add publish stats method to tracker