Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

Insider iOS Post-Login Attribute Tracking

Track user attributes and events set right after login in Insider's iOS SDK. See which properties to log so profiles stay accurate.

· 3 min read

Login is the moment an anonymous visitor becomes a known customer, and it is also where analytics most often go wrong. An app sets a plan name, a language or a loyalty tier in the same breath as signing the user in, and if the SDK has not finished switching identities, those values land on the wrong profile. The result is a segment that quietly includes the wrong people.

Insider’s iOS SDK 16.5.1 (12 November 2026) addresses this: attributes and events set right after login now apply to the newly logged-in user. The same release notes warn that from 2 December 2026, new iOS SDK versions are no longer published to the public CocoaPods Specs repository, so teams using CocoaPods should plan their dependency setup now.

Why This Matters

Personalisation and lifecycle messaging depend on profile attributes being correct at the moment they are used. If a value written during login is attached to the previous anonymous profile, the new user starts with a blank record and the old profile carries data it should never have. Messages go to the wrong audience, and funnels that cross the login step show missing or duplicated users.

Without a check on this step, the problem looks like normal noise in your data.

Data Points to Track

Log these properties on login and attribute-setting events, using your own event names:

  • login_method: email, apple, google, passkey or other
  • attributes_set_count: how many attributes your app wrote in the login flow
  • attributes_set_after_login: true if they were written after the identify call
  • seconds_from_identify_to_first_attribute
  • events_before_identify and events_after_identify counts
  • profile_state: anonymous, identified or merged
  • sdk_version, app_version and ios_version
  • install_method: swift_package_manager, cocoapods or other
  • attribute_sync_result: success or failed

Do not log attribute values that are personal. Log names and counts only.

Setup Steps

  1. Update the Insider iOS SDK to 16.5.1 or later.
  2. Find the code that sets attributes and events during login and note the order of the identify call and each attribute call.
  3. Add a login_completed event that records the properties above.
  4. Compare, in a test account, the profile before and after login to confirm the attributes appear on the logged-in profile only.
  5. If you install with CocoaPods, check your Podfile ahead of 2 December 2026 and decide whether to move to Swift Package Manager.
  6. Record install_method so you know which builds will need a dependency change.
  7. Build a dashboard of attribute sync results by SDK version and review it after each release.

Actionable Insights

Attribute coverage after login. Measure the share of newly logged-in users with their expected attributes. A gap points to ordering problems in your login code.

Events before identify. A high count suggests actions are being credited to anonymous profiles. Move key events until after identity is confirmed.

Sync failures by version. If failures fall after upgrading, the SDK fix is working. If not, look at network handling in the login flow.

Segment accuracy. Compare segment sizes before and after the upgrade. A sudden change may be corrected data rather than a real shift in behaviour, so annotate it in your reports.

Dependency risk. Knowing how many active users are on CocoaPods builds tells you how much release work the December change will cause.