Add getters and setters for Properties to make it more type safe.

Also clean up how Google Analytics handles ecommerce events.
Flush Google Analytics