Adding client metrics and calling preventDefault on header click of wall page