As the title says, I am looking to include the Page Name when calling trackAction(action:data:) from the iOS Mobile SDK version 4.17.0. It looks like this is possible from the Web SDK, but I don't see a way to do this from iOS. Is there a specific context data key that I can set?
Overwrite value of prop1 to context data 'action_pagename'
This setting will allow you to set pagname in custom prop with trackAction.
Note: you can directly overwrite pagename with any contextData value in proc rules but it may have an impact over data collection in Adobe. Hence you must talk with processing rule expert about its consequences over data collection/reporting in Adobe beforehand.
Setting a Page Name in trackAction call is really a moot point, as a trackAction is not captured as a pageView nor is the value captured in the Pages Reports. trackAction method is reported in Action Name report and in the Links -> Custom Links Report.
Is there a specific reason you are attempting to capture a pagename on an Action/Link call?