Identify a subscriber across devices
Attach your own user id so one person can be found across phone and browser.
An external user id is the id your own system uses for a person. Set it once the user logs in.
// Android
PushFyre.login(context, "user-1001")// iOS
PushFyre.login(externalUserId: "user-1001")// Web, after PushFyre.init
await PushFyre.login("user-1001");The id then shows in the External ID column of the Users page, and you can search by it. Devices that share an external id are treated as the same person. On the web the visitor stays anonymous until this call.
What the id is used for
Call login after your own sign-in succeeds, and call it again when the same person signs in on another phone or browser. Devices that share the id are one person on the Users page. The frequency cap follows that id instead of counting each device separately. Search on the Users page finds the person by this id.
Use an id your own system already stores, such as the account's primary key. An email address can change, and a new value would split the history. On the web the visitor has no id until login runs, so a subscription created before sign-in stays anonymous until that call.