add analytics support to block_link