create analytics tag code