add Analytics code