Ecommerce analytics fix