added example analytics integration script