Skip to Content
AffFast
Legal (draft)

Privacy policy (draft)

Which personal data the platform stores, for how long, and how you can export or delete it. Draft text. A lawyer must review it before launch.

Draft. Needs legal review. This page is not final legal text. A lawyer must review it before the platform goes live. Text in [square brackets] is open: someone must decide it first. The list of open items is at the end of this page.

This policy says which personal data the platform stores and why. It also says how long the platform keeps the data and how you can export or delete it.

1. Who is responsible

  • The operator of the platform is [open: legal entity, address, company number, contact email].
  • For the data of your account (see section 3), the operator is the controller.
  • For the data of your workspace (conversions, clicks, links, connections), you are the controller. The operator is the processor. The data processing agreement applies.

2. What the platform is

The platform reads the sales data of your affiliate networks through their APIs. It also runs short links (redirects) for your affiliate links. It gives you the data through a dashboard and through an API.

3. Which data the platform stores

DataExamplesWhy
Account dataName, email address, a password hash, the settings of two-step loginTo sign you in and to contact you
Session dataSession token, the network of the IP address (see section 5) and the browser text (user agent) of the sign-inTo keep you signed in and to secure it
Workspace membersName, email address and role of each member. Invitations (email address).To control who can use a workspace
Billing dataThe plan, the status of the subscription, the Stripe customer ID. Stripe keeps the card.To bill the subscription
Network credentialsAPI keys and tokens of your affiliate network accounts. Stored encrypted. Never shown.To read your sales data
Sales dataConversions, payouts, programs, brands, deals. The amounts and the status.To show your reports
Click data of visitorsSee section 4To count clicks and to attribute sales
API request logsSee section 5To help you find errors
Postback eventsThe raw requests that your networks send to your postback URLTo make provisional conversions

4. Click data of your visitors

A visitor who uses one of your short links reaches the redirector. The platform stores this data for each click:

  • the time, the link code and the program,
  • the host of the destination (not the path, not the query),
  • the referrer and the page where the link was, without the query (the utm_ values stay),
  • the country (from the IP address, with a local GeoIP database),
  • the device type, the operating system and the browser,
  • the values (subid) that you put in your link,
  • a salted hash of the IP address and a hash of the user agent.

The platform does not store the IP address of the visitor. The salt of the hash changes each day. So the platform cannot find the same visitor on two days. The platform does not set a cookie on the visitor and does not read one.

The platform keeps each click for 13 months. Then it deletes the click. The daily rollups (the number of clicks for each day, program, link, country and device) stay. They have no visitor identifier. A rollup has a count of unique hashes for one day only.

5. API requests

The platform logs each request to the API for 30 days. The log has the time, the method, the path, the query, the status, the time used, the user agent, the headers and the bodies (secrets removed, 64 KB at most), and the network of the IP address of the caller. This is the network of your server or of your browser, not of a visitor.

The platform does not store the full IP address of a caller. It keeps the first 24 bits of an IPv4 address and the first 48 bits of an IPv6 address. Example: 203.0.113.77 becomes 203.0.113.0, and 2001:db8:1234:5678::1 becomes 2001:db8:1234::. This also applies to each address in the X-Forwarded-For header of the log. A value that is not an IP address is not stored.

Why the platform makes the choice this way: the log is for two purposes. One is to help you find errors in your own requests. The other is to find abuse. Both need to know which network a request came from, for example to see that a faulty server of yours calls the API, or that one range of addresses sends a flood of requests. Neither needs the address of one device. The platform could keep the full address for 30 days for security, but the shorter form is enough for these purposes, so the platform does not keep more than it needs.

The platform also stores the network of the IP address of the last request of each API key (the same form), until you delete the key. A new session of the dashboard has the network of the IP address too, in the same form. The browser text (user agent) of a session stays as it is.

6. How long the platform keeps data

DataPeriod
Clicks (raw)13 months
Daily click rollupsUntil you delete the workspace
Click counts of the networks (network_clicks)13 months. Also removed when you delete the connection.
API request logs30 days
Events (the change log)30 days
Webhook delivery log30 days
Raw postback events90 days
Files of a data export7 days
Sessions of the dashboardUntil they expire, and one day more. A daily job deletes them.
Verification rows (email link, password reset)Until they expire. A daily job deletes them.
Sales data, links, sites, tagsUntil you delete the data or the workspace
Network credentialsUntil you change them, delete the connection or the workspace
Account dataUntil you delete your account (see section 9)

The platform enforces these periods with scheduled jobs and with time limits in the database. The periods are in the code and in the tests.

7. Cookies and tracking

  • The dashboard sets one cookie: the session cookie. It is strictly necessary to keep you signed in. It needs no consent. The dashboard also keeps your choices (the mode live or test, the theme, the state of the checklist) in the local storage of your browser. This data does not leave your browser.
  • The dashboard has no advertising cookie and no analytics cookie. It does not use a third-party tracker.
  • The redirector sets no cookie and reads no cookie.
  • The public website and the documentation: [open: check before launch. If an analytics tool is added, this section must list it, and a cookie notice may be needed.]
  • The API uses no cookie. A dashboard session uses a token in the Authorization header.

8. Your rights

You can use these rights for the data of your account and workspace:

  • Access and portability. The owner of a workspace can export all data of the workspace. Use the button "Request a data export" in the settings, or the API (POST /v1/workspace/exports). The file is a ZIP file of JSON lines files. It has the data of live mode and test mode. It has no credentials and no key hashes. The download link works for 15 minutes. The file is deleted after 7 days.
  • Delete. The owner of a workspace can delete the workspace in the settings. Each user can delete the own account in the settings. See section 9.
  • Correction. You can change the name and the email address of your account, and the data of your workspace, in the dashboard and in the API.
  • Other rights (restriction, objection, complaint to a supervisory authority): write to [open: contact email]. If you are a visitor of one of our customers, ask that customer first. The customer is the controller of your click data.

9. How the delete of a workspace and of an account works

  1. The owner types the name of the workspace to confirm. Only the owner can start a delete.
  2. The grace period starts. It is 7 days. At once, the platform revokes all API keys, stops all syncs, webhook endpoints, destinations and postback sources, and cancels the subscription. Your short links keep working during the grace period.
  3. During the grace period, the owner can cancel the delete. The data stays. The keys, the syncs and the subscription do not come back. The owner makes them again.
  4. At the end of the grace period, a job deletes all data of the workspace: all rows in the databases (live and test), all clicks and logs in the click database, all files in the object storage (imports, raw pages, exports), the records of the redirector, the members and invitations, and the workspace.
  5. The same job deletes the customer object of the workspace at Stripe (name, email address and billing details). If Stripe does not answer, the job does not wait: the data is deleted, and a second job tries again until Stripe deletes the customer. If the customer does not exist at Stripe any more, this is not an error.
  6. The user accounts stay. A user can own other workspaces. See the next part for the delete of an account.

What stays after the delete:

  • The invoices and payment records at the payment provider (see the sub-processor list). The law requires the provider to keep them. The provider is responsible for this data. The customer object at the provider is deleted (step 5).
  • Backups. [Open: the backup period is decided in M6. The text must say when a deleted workspace leaves the backups.]
  • The platform logs of the servers (the IP address of a request to the API) for [open: period].

Delete your account

Each user can delete the own account in the settings of the dashboard ("Delete my account").

  1. You type the email address of your account to confirm.
  2. A user that owns a workspace cannot delete the account. Delete the workspace first (see above), or make another member the owner. The platform checks this when you ask and again at the end of the grace period.
  3. The grace period is 7 days, the same as for a workspace. You stay signed in, and you can cancel in the settings.
  4. At the end of the grace period, a job deletes your sign-in data: your user record (name and email address), your password hash, your settings of two-step login, all your sessions, your memberships in workspaces, the invitations that you sent or got, the open verification rows, and your customer object at Stripe if one exists.
  5. The data of the workspaces that you were a member of stays with the workspace. It has your user ID (for example as the creator of a link), but no name and no email address.

10. Security

  • The platform stores network credentials with envelope encryption. The master key is not in the database.
  • Workspaces share no data. Each query has the workspace and the mode. The database also refuses the rows of other workspaces (row-level security).
  • A credential is write-only. After you save it, no screen and no API response shows it.
  • All traffic uses HTTPS. [Open: confirm in M6.]

11. Sub-processors, transfers and changes

  • The sub-processor list names the companies that process data for the platform.
  • [Open: the hosting provider and the region. The goal is hosting in the EU. If data goes outside the EU, this section must name the legal basis, for example the standard contractual clauses.]
  • If this policy changes, the platform shows the change in the dashboard and sends an email to the owners [open: how long before].

Open items for the lawyer and the operator

  1. The legal entity, the address and the contact email.
  2. The hosting provider, the region and the transfer basis (decided in M6).
  3. The backup period and its effect on deleted data (M6).
  4. The analytics and cookie rules of the public website.
  5. The period to keep the server logs.
  6. The legal basis for each use (contract, legitimate interest). The lawyer must check the table in section 3.
  7. The notice period for changes.

On this page