FGFareGap

Partner setup

Affiliate ids live in environment variables. They are never hardcoded in the repo.

Marker status: configured (582822).

  1. 1

    Create a free account at travelpayouts.com.

  2. 2

    Create a Project pointing at this site.

  3. 3

    Copy the marker id into NEXT_PUBLIC_TP_MARKER.

  4. 4

    Redeploy.

  5. 5

    Click a test search and confirm the outbound URL contains the marker.

  6. 6

    Do not promise customers a discount you do not control.

  7. 7

    Payouts come after completed stays or tickets, often 4–5% on hotels and about 1–1.5% on flights, paid by the network, not by the customer.

Environment variables

NEXT_PUBLIC_TP_MARKER=your_marker_id
NEXT_PUBLIC_SITE_URL=https://faregap.example

Flight links look like https://www.aviasales.com/search/JFK0106ACC15061?marker=YOUR_MARKER. One-way searches omit the return date segment. Hotel links use https://search.hotellook.com/ with destination, dates, adults, and marker.