Mobile analytics PHP code