mask fix
add analytics code