Add delegate callbacks for analytics

Signed-off-by: Jai Govindani <jai@zodio.com>