Added token cookie to analytics code