BAC-543: added block type and referrer to the stats pages