minor bugfix - use correct var in analytics