removed ternary operator
added market google analytics