# Mobile iOS app (SwiftUI): Analyze User sessions

**URL:** <https://community.dynatrace.com/t/mobile-ios-app-swiftui-analyze-user-sessions/52510>\
**Category:** Real User Monitoring\
**Tags:** custom-actions, dynatrace-api\
**Created:** [July 16, 2025, 3:43pm UTC](https://community.dynatrace.com/t/mobile-ios-app-swiftui-analyze-user-sessions/52510 "2025-07-16T15:43:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcelodesouza](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@marcelodesouza](https://community.dynatrace.com/u/marcelodesouza)\
**Post date:** [July 16, 2025, 3:43pm UTC](https://community.dynatrace.com/t/mobile-ios-app-swiftui-analyze-user-sessions/52510/1 "2025-07-16T15:43:35Z")

</div>

Hi,

I am facing an issue with my application. My home screen has multiple sections, and it loads only when I scroll the page.

So all the visible sections have their calls associated with the event “Touch on CollectionViewCell @0:0” that fired from the previous screen action and are being displayed inside the"Network Request" section, but all the other calls that start when I scroll the page are not visible on any event inside “Analyze User sessions”.

I am using Alamofire for my API calls, and I see that Dynatrace is already monitoring them, but not inside an event inside “Analyze User sessions.”

I am trying to add them manually to my custom event that I am creating, so it shows there. Is there a way to associate a API Call to a&nbsp;DTXAction by using the URL or something like this? Thanks

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [July 17, 2025, 6:46am UTC](https://community.dynatrace.com/t/mobile-ios-app-swiftui-analyze-user-sessions/52510/2 "2025-07-17T06:46:27Z")

</div>

Hi,

this describes conditions on how request are linked to parent actions automatically:&nbsp;[OneAgent SDK for iOS in RUM Classic — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#parent-action-of-web-requests)

There are also possibilities to change generated user actions, but reparenting them is not possible:&nbsp;[https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-any-auto-action](https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#modify-any-auto-action)
