added the analytics