Most iOS teams track the taps they thought of in advance. Users, though, tap in places nobody planned for: a label that looks like a button, a banner that does nothing, a control that responds too slowly. Without automatic capture, those moments are invisible and the friction stays hidden.
Mixpanel Swift 7.1.0 makes autocapture generally available. It covers clicks, rage clicks and dead clicks. The earlier 7.0.0 release raised the minimum OS versions to iOS 15, tvOS 15, macOS 12 and watchOS 9, and replaced trackAutomaticEventsEnabled with autocaptureOptions. Teams on older targets can stay on 6.x, which receives security and critical fixes until April 2027.
Automatic capture is powerful but noisy. Switching it on without a plan can flood your project with events nobody reads and raise your bill.
Data Points to Track
click_countper screenrage_click_countper session and screendead_click_countper screen and elementelement_labelor accessibility identifierscreen_nameapp_versionandmixpanel_swift_versionautocapture_enabledflag per releaseevents_per_sessionbefore and after enablingfriction_fix_shippeddate for each flagged element
Setup Steps
- Confirm your deployment target is iOS 15 or later. If not, stay on 6.x for now.
- Upgrade to 7.1.0 and move settings from
trackAutomaticEventsEnabledtoautocaptureOptions. - Enable autocapture for a small share of users or a beta build first.
- Set accessibility identifiers on key controls so element names are readable.
- Exclude sensitive screens, such as payment and health entry.
- Build a friction report showing rage and dead clicks by screen.
- Watch event volume daily for the first week and adjust.
Actionable Insights
Dead clicks show where users expect something to happen and nothing does. Rank elements by dead click rate and fix the top three. Often the fix is making the whole row tappable or adding visible feedback.
Rage clicks point to slowness or broken controls. If they cluster after a release, suspect a regression. Compare by app version to find the build that introduced it.
Compare click counts with your hand-written events. Where they disagree, one of the two is wrong, and you want to know which.
Finally, track event volume against value. If autocapture adds half a million events and you act on ten of them, tighten the options.
Common Mistakes to Avoid
Do not turn on autocapture everywhere and then ignore the results. Pick one screen, fix what it shows, and repeat.
Beware of unlabelled elements. A report full of anonymous buttons cannot be acted on, so invest in accessibility identifiers first. That also helps users of assistive technology.
Finally, check privacy. Autocapture should never record typed text or personal values, so review the captured properties before widening the rollout.