added coupon tracking
fixed header
added mode tracking