Infusionsoft Referral Tracking URLs on Clickfunnels connected via API

I am having my optinform in clickfunnel which is integrated with Infusionsoft API.
I have created the tracking links for my referrals in Infusionsoft. How do I go about ensuring that the contacts opting in via my referrals links have my referral associated with that contact in Infusionsoft.