Fix for Google Analytics e-commerce tracking; ensure that $record exists
Merge branch 'hotfix/fix_ecommerce_tracking'