Added analytics
Added analytics
Fixed analytics code