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 otherattributes_set_count: how many attributes your app wrote in the login flowattributes_set_after_login: true if they were written after the identify callseconds_from_identify_to_first_attributeevents_before_identifyandevents_after_identifycountsprofile_state: anonymous, identified or mergedsdk_version,app_versionandios_versioninstall_method: swift_package_manager, cocoapods or otherattribute_sync_result: success or failed
Do not log attribute values that are personal. Log names and counts only.
Setup Steps
- Update the Insider iOS SDK to 16.5.1 or later.
- Find the code that sets attributes and events during login and note the order of the identify call and each attribute call.
- Add a
login_completedevent that records the properties above. - Compare, in a test account, the profile before and after login to confirm the attributes appear on the logged-in profile only.
- If you install with CocoaPods, check your Podfile ahead of 2 December 2026 and decide whether to move to Swift Package Manager.
- Record
install_methodso you know which builds will need a dependency change. - 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.