Db analytics take 2

Adding functionality to track if graph was done with guidance option or not