refactored Google Analytics variable