analytics preparation