# New Capabilities
**1. Goaffpro Account Connection & Affiliates Metadata Sync**
- Allow merchants to connect their Goaffpro account on the source settings page.
- Fetch all affiliates data (Affiliate Name and corresponding unique Referral Code) via Goaffpro API.
- Implement periodic background sync to keep Referral Codes up‑to‑date, as Referral Codes are editable by affiliates.
**2.Every affiliate owns an exclusive Referral Code, which will be appended as the ref URL parameter by default for all Goaffpro generated links.**
- New Goaffpro Attribution Recognition Rule
- Detect Goaffpro traffic when URL contains the ref parameter and its value matches a valid Referral Code retrieved from the connected Goaffpro account.
- Once matched, mark the visit as a Goaffpro‑sourced session.

** Goaffpro Traffic Parameter Resolution Logic**
*** Campaign ***
1. Affiliate Name retrieved by matched `ref` Referral Code
2. Fallback to `utm_campaign`
3. Empty string if neither value is available

*** Source ***
1. Read `utm_source` from URL query
2. Fallback to default value: `Goaffpro`

*** Medium ***
1. Read `utm_medium` from URL query
2. Fallback to default value: `affiliate`

![image](/knowledge-assets/eb2694dc0c43cdf7f871c060.png)

