Fixing analytics code for payment processing.

Signed-off-by: Nikhil Sama <nikhilsama@gmail.com>
Merge branch 'new_design' of github.com:NikhilSama/SnapLion2 into new_design
Merge branch 'new_design' of github.com:NikhilSama/SnapLion2 into new_design