Configure iOS SDK

Getting started is easy:

  1. Connect your app
    Visit https://app.logrocket.com to create an app ID - this links your app to your LogRocket workspace

  2. Add the SDK
    Initialize the SDK in your application to start recording sessions

  3. Protect sensitive data
    Sanitize your data before sending it to LogRocket. Control exactly what LogRocket records - easily exclude UI elements, text, or network data that shouldn't appear in session replays

Get the most out of LogRocket — follow the steps below to unlock deeper insights:

  1. Identify Users
    Associate sessions with known users in LogRocket for faster debugging, better analytics, and smarter retention insights

  2. See full stack traces
    Upload dSYM files for full stack trace visibility - no more guessing which line failed

  3. Capture WebViews
    If you use WebViews in your app, initialize LogRocket on WebViews to ensure every page view appears in session replay

  4. Tag key pages
    By default, LogRocket captures View Controller events for navigation tracking - but these don't always reflect every screen you'd consider a "page". Add custom page tags to make your analytics more meaningful, highlight real user journeys, and pinpoint where users drop off

  5. Upload custom fonts
    If you use custom fonts or icons, follow upload custom fonts so you see exactly what your users see

  6. Track custom events
    While LogRocket automatically captures standard events like clicks and navigation, you can define custom events to capture anything unique to your app

  7. Manually log errors
    Add manual logging for error messages and exceptions to capture additional debugging details and make issues easier to diagnose

Not seeing what you're looking for? Check out the rest of our iOS documentation for even more granular controls.