Affiliate doesn't track signups

Affiliate, when integrated with Membership 2 is not tracking information. After users sign up for a paid membership using affiliate link the event is not recorded in Affiliate.