How do we validate A4T integration on mobile app

Avatar

Avatar

LordOfTheRings

Avatar

LordOfTheRings

LordOfTheRings

21-01-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

tszat

Avatar

tszat

tszat

28-01-2021

I had the same question here: https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/sdid-different-in-native-app... 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

Answers (3)

Answers (3)

Avatar

Avatar

abu_shafi

Avatar

abu_shafi

abu_shafi

08-02-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

Avatar

Avatar

josejr19

Avatar

josejr19

josejr19

21-01-2021

@LordOfTheRings 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/

Avatar

Avatar

IanDaniels

Avatar

IanDaniels

IanDaniels

21-01-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-prev...