Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Mobile SDK Implementation/Training

Avatar

Level 4

Hi,

I've seen many posts and read through all the Adobe docs. on the Mobile SDK but for me, there is a gap in knowledge once it gets down to Tags/Launch and how to create data elements that need custom code to access data from the mobile app (not just built-in Lifecycle info). And how the rules should be structured as well as how to use Assurance to test the code? I've seen pieces but nothing that takes a developer from end-to-end completely. It's crazy, Adobe doesn't even have a class covering the Mobile SDK. Does anyone know of any resources that lay everything out or any third-party organizations that teach the Mobile SDK? As I mentioned, the docs. touch on most of this but not enough to be able to do an implementation. My particular areas of interest are:

 

1) how to create data elements/rules that return specific data from the mobile app.

2) How to test with Assurance (I've seen the docs. but still leaves a bunch of questions).

 

Thanks!

 

 

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hello @MichaelJo13 ,

 

You have to work closely with your app developers and they are responsible for adding the Mobile SDK dependency to the app and writing code to track user actions and screen views using methods like trackAction (for interactions such as button taps or purchases) and trackState (for screen views). these will generate XDM events and sent to the Edge Network. This setup ensures the data flows correctly into Adobe Analytics and Experience Platform for reporting and audience building. The Asssurance is used for testing AEP events request and response and connectivity between APP and AEP.

Example:
MobileCore.trackAction("Add to Cart", data: ["productID": "123"]) for track action.

For trackState:
MobileCore.trackState("Home Screen", data: [
"userType": "premium",
"screenCategory": "main"
])


Thanks

AJODev

View solution in original post

9 Replies

Avatar

Employee Advisor

Hi @MichaelJo13 ,

Have you seen this tutorial? This comes with a sample app and takes you through the basics of the SDK and every Experience Cloud solution which uses it.

https://experienceleague.adobe.com/en/docs/platform-learn/implement-mobile-sdk/overview

 

Data Elements are not useful with Mobile SDK the way they are with Web SDK. You can just arbitrarily grab anything from the app the way you can on a web page. You need to construct a data dictionary in the app and send the values in the network call.

Assurance is covered quite a bit in the tutorial linked above.

Avatar

Level 4

Hi dwright,

Thank you for the response. Yes, I think I've seen every piece of Adobe documentation. As far as Assurance goes, there is a lot of info but for me I woud still struggle doing an implementation. Things I don't understand is does the developer have to pass you off a build and then do you have to make any changes to the build or can you just run it via Assurance? Also how are the calls from the mobile app made? For example, with the web SDK you can watch the interact calls and the data layer and payload pushes etc. What would be equivalent to this in the Mobile SDK? Also, I've seen a little on third party videos about how the mobile app. tracks interactions but how are they mapped/tracked in Tags? 

 

Thanks!

Avatar

Correct answer by
Level 5

Hello @MichaelJo13 ,

 

You have to work closely with your app developers and they are responsible for adding the Mobile SDK dependency to the app and writing code to track user actions and screen views using methods like trackAction (for interactions such as button taps or purchases) and trackState (for screen views). these will generate XDM events and sent to the Edge Network. This setup ensures the data flows correctly into Adobe Analytics and Experience Platform for reporting and audience building. The Asssurance is used for testing AEP events request and response and connectivity between APP and AEP.

Example:
MobileCore.trackAction("Add to Cart", data: ["productID": "123"]) for track action.

For trackState:
MobileCore.trackState("Home Screen", data: [
"userType": "premium",
"screenCategory": "main"
])


Thanks

AJODev

Avatar

Level 4

Thank you! How do you monitor the calls coming out of the mobile app?

Avatar

Level 5

You can connect to assurance and see all events from the mobile App.
If you want to see real time events from mobile App, you can preview your tracking dataset or else query the Tracking dataset

Avatar

Level 1

Hi,

Usually you monitor your traffic via Fiddler or Charles. I generally use to check mobile app screen tracking. 

 

Try out, if you're using websdk then request would be /interact/ or if you using app measurement then /b/ss/

 

Hope these links help you to figure it out.

Android - https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler

 

iOS - https://www.telerik.com/blogs/how-to-capture-ios-traffic-with-fiddler

 

Charles - https://medium.com/@laxman.bhosle/charles-proxy-in-mobile-app-testing-ba4e2c543d89

 

Cheers 

 

Avatar

Administrator

@MichaelJo13 Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!



Kautuk Sahni

Avatar

Level 4

Yes, I got the answers I wanted. I would highly urge Adobe to have a class for developers on mobile implementation. I feel Adobe misses a lot of opportunity with developers. I don't know if this is on purpose due to pushing professional services but there is definitely a void in training when it comes to some developer areas. 

 

Thanks!

Avatar

Administrator

@MichaelJo13 thank you for the feedback. I should share this with the internal team. On side note, could you please share how you solved the original issue?



Kautuk Sahni