How do we validate A4T integration on mobile app | Community
Skip to main content
ambikaTewari_ATCI
New Participant
January 21, 2021
Solved

How do we validate A4T integration on mobile app

  • January 21, 2021
  • 4 replies
  • 2654 views

Hi Team,

 

Client has set up the analytics and target on their new mobile app and we are going live with the first AB Test.

We need all target activity report data in Analytics so wants to cross check first if A4T is working for mobile app also.

It works well with the website A4T activities (checked sdid and mid param).

So my question is how do we make sure this in mobile app?

We use charles proxy to validate the b/ss and tt call but ant find sdid param there.

 

Any leads in this regard would be really helpful

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by tszat

I had the same question here: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sdid-different-in-native-app-sdk/qaq-p/391729 It sounds like it might be normal that that SDID param isn't there. Sure would be nice if someone from Adobe could confirm...hint hint

4 replies

New Participant
February 9, 2021

Hi

To make a4t works:

- In web you have to pass the SDID from target to Analytics payload 

- in Mobile Apps SDK you have to collect "tnta" value from target and pass this to Analytics

 

IOS & Android some sample code can be found here 

https://shafi.com.au/code/2019/09/05/adobe-target-api-and-a4t.html

tszat
tszatAccepted solution
New Participant
January 28, 2021

I had the same question here: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sdid-different-in-native-app-sdk/qaq-p/391729 It sounds like it might be normal that that SDID param isn't there. Sure would be nice if someone from Adobe could confirm...hint hint

New Participant
January 21, 2021

@ambikatewari_atci On iphone there is an app called Charles, its technically the same app you use on your desktop but for your phone. You can use this tool to listen for inbound and outbound http request from the device without needing to use your computer as a proxy. Here you will be able to view the headers and payloads being passed to Adobe and the responses. You would then want to validate that the values that need to match between Target and Analytics do in fact match. I believe you need to enable SSL and install a certificate for the Charles app to catch the traffic, if you dont do this is will be encrypted and unreadable.

 

I mentioned using your computer as a proxy, if you dont want to get the app, here is the documentation on how you set that up. 

https://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/

New Participant
January 21, 2021

Have you used the Target Preview Link on your device and recorded the call to the experience preview in Charles? https://experienceleague.adobe.com/docs/target/using/implement-target/mobile-apps/target-mobile-preview.html#section_981D6FA4AEE64098809EA606E89E4A5E