Updates to Analytics Code

Disallow tracking for logged-in users.