User invite attribution


Attributing user invites lets marketers gain insight into how much traffic your app gets from existing users inviting new users to join.

Generally, it consists of the following:

  1. Defining the user invitation flow and implementing the generation of OneLink links accordingly.
  2. Logging the invitation as an in-app event. This results in:
    • An af_invite event that's visible in AppsFlyer dashboards and reports.
    • The pid (media source) parameter is set with the default value af_app_invites. To change the value, you need to add a custom parameter called pid with the value you want.
      Note: For Android, this only works for AppsFlyer SDK V6.4.2+.

Implementation guides