Fixed undefined $analyticsCode error if no propertyId is being configured