Home Forex & Trading Partnership Glossary What Is an IB Code? Referral Code Meaning for Forex Partners

What Is an IB Code? Referral Code Meaning for Forex Partners

Last updated: 30 November 2026 · Reviewed by the Partner Federation partnerships team, with two decades of combined experience in online trading and brokerage partnerships.

IB code: a unique referral code that a client enters when they register with a broker, which links their account to the introducing broker.

Key takeaways

  • An IB code ties a client to you without relying on a link or cookie.
  • It fills the gaps links miss: device switches, cleared cookies, offline referrals.
  • Give clients both your link and your code.

How an IB code works

The broker gives you a code, often your partner ID. A client types it into a field on the registration form, and the account is tagged to you. Because it doesn’t depend on a browser cookie, it still works if the client clicked your link on their phone and registered later on a laptop, or heard about you at an event.

Codes vs tracking links

A tracking link tags clients automatically and can carry a sub-ID for each channel. A code relies on the client entering it, but survives everything a link can lose. Most partners use both. See Tracking & Attribution.

FAQ

What is an IB code?

A referral code a client enters at registration that links their trading account to an introducing broker, so the IB earns commission on it.

What if a client forgets to enter my IB code?

Contact the broker quickly with evidence. Some will reassign the account within a short window; many won’t once the client starts trading.

Is an IB code better than a referral link?

They do different jobs. Links track automatically and by channel; codes survive device switches and offline referrals. Use both.

Related terms and guides

Risk warning: CFDs, FX and OTC trading products are complex, leveraged products and come with a high risk of losing money rapidly. Most investor accounts lose money when trading. Make sure you understand how these products work and whether you, or any of your clients, can afford to take the high risk of losing money.

Partner Federation is an independent educational resource. It is not a broker, does not hold client money and does not give investment, legal or tax advice. Figures on this site are typical industry ranges or worked examples, not offers or guarantees of income.