<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi" -->

---
title: How LinkedIn Built a View-Agnostic Analytics System for...
description: LinkedIn built a view-agnostic analytics system to handle modern iOS UI architectures where logical elements don't map to UIView instances. The system centers...
canonical: https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How LinkedIn Built a View-Agnostic Analytics System for Modern iOS UI Architectures | daily.dev
og:description: LinkedIn built a view-agnostic analytics system to handle modern iOS UI architectures where logical elements don't map to UIView instances. The system centers...
og:url: https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi
og:image: https://api.daily.dev/og/posts/eNRTMQoPI.png
og:image:alt: How LinkedIn Built a View-Agnostic Analytics System for Modern iOS UI Architectures
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How LinkedIn Built a View-Agnostic Analytics System for Modern iOS UI Architectures

**[InfoQ](https://daily.dev/sources/infoq)** · 3 min read · 0 upvotes · 0 comments

## Summary

LinkedIn built a view-agnostic analytics system to handle modern iOS UI architectures where logical elements don't map to UIView instances. The system centers on a shared MeasurableNode contract exposing identity, geometry, hierarchy, and lifecycle, letting virtual nodes and traditional UIViews participate in the same analytics layer. Attach and detach methods notify the system when nodes appear, move, or disappear. Senior engineer Keerthana Reddy Ragi says the design allows gradual adoption, letting teams modernize parts of the UI without rewriting existing view-based analytics.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/11/linkedin-view-agnostic-analytics>

## Questions this post answers

### How can I track analytics for UI elements that aren't real UIView instances in iOS?

Use a shared contract like LinkedIn's MeasurableNode, which exposes identity, geometry, hierarchy, and lifecycle properties independent of UIView. Virtual nodes implement attach and detach methods to notify the analytics system when they appear, move, or disappear, while existing UIViews continue using native UIKit lifecycle hooks, letting both coexist in the same analytics layer.

_Developers modernizing UI layers can compare architecture approaches like this one on daily.dev._

### What problems occur when iOS analytics assumes every UI element is a UIView?

Analytics systems built solely around UIKit can fail to capture impressions for virtual nodes that never materialize as UIViews, lose logical hierarchy and contextual information, miscalculate visibility and impression duration, and attribute user actions to the wrong UI elements. This becomes common as modern iOS UI systems increasingly use flattened layouts and custom rendering.

_Teams debugging misattributed analytics events can follow iOS architecture patterns like this on daily.dev._

## Similar posts on daily.dev

- [Stop Showing Everything: How Layered Views Give Users Back Control](https://daily.dev/posts/stop-showing-everything-how-layered-views-give-users-back-control-zdk3f23up) · Medium · 1 upvotes · 0 comments
- [Visualize Data Your Way, with Intelligence Dashboards Built for Your Stack](https://daily.dev/posts/visualize-data-your-way-with-intelligence-dashboards-built-for-your-stack-qfqztrwoe) · AppSignal · 0 upvotes · 0 comments
- [From Member Tap to Backend: How LinkedIn Traced the Member Journey with OpenTelemetry](https://daily.dev/posts/from-member-tap-to-backend-how-linkedin-traced-the-member-journey-with-opentelemetry-wlxup0yrr) · LinkedIn Engineering · 0 upvotes · 0 comments
- [Solving Fragmented Mobile Analytics: Uber’s Platform-Led Approach](https://daily.dev/posts/solving-fragmented-mobile-analytics-uber-s-platform-led-approach-m29bpyleg) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui), [#linkedin](https://daily.dev/tags/linkedin)

[View this post on daily.dev](https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How LinkedIn Built a View-Agnostic Analytics System for Modern iOS UI Architectures","url":"https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi"},"datePublished":"2026-11-23T18:03:03.924Z","dateModified":"2026-11-23T18:03:27.212Z","description":"LinkedIn built a view-agnostic analytics system to handle modern iOS UI architectures where logical elements don't map to UIView instances. The system centers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae3ca7aa7826382778848a4b0bf81ab6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae3ca7aa7826382778848a4b0bf81ab6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,swiftui,linkedin","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"How LinkedIn Built a View-Agnostic Analytics System for Modern iOS UI Architectures"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-linkedin-built-a-view-agnostic-analytics-system-for-modern-ios-ui-architectures-enrtmqopi#faq","mainEntity":[{"@type":"Question","name":"How can I track analytics for UI elements that aren't real UIView instances in iOS?","acceptedAnswer":{"@type":"Answer","text":"Use a shared contract like LinkedIn's MeasurableNode, which exposes identity, geometry, hierarchy, and lifecycle properties independent of UIView. Virtual nodes implement attach and detach methods to notify the analytics system when they appear, move, or disappear, while existing UIViews continue using native UIKit lifecycle hooks, letting both coexist in the same analytics layer. Developers modernizing UI layers can compare architecture approaches like this one on daily.dev."}},{"@type":"Question","name":"What problems occur when iOS analytics assumes every UI element is a UIView?","acceptedAnswer":{"@type":"Answer","text":"Analytics systems built solely around UIKit can fail to capture impressions for virtual nodes that never materialize as UIViews, lose logical hierarchy and contextual information, miscalculate visibility and impression duration, and attribute user actions to the wrong UI elements. This becomes common as modern iOS UI systems increasingly use flattened layouts and custom rendering. Teams debugging misattributed analytics events can follow iOS architecture patterns like this on daily.dev."}}]}
```

