added condition to only track production site analytics