analytics -> code + add figure