use a hook for retrieving the analytics client id
update readme