Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

Media Analytics tracking identifier on app


Level 1

Latest SDK

Android Analytics sdk v1.2.6

iOS AEPAnalytics sdk v3.0.1

We try to get tracking identifier with function "getTrackingIdentifier" and pass along with other context variable, however with latest SDK, function "getTrackingIdentifier" return ‘nil’ value in both platform. Also, can confirm with Charles log, with latest SDK now we not able to "aid" value.
Note : same function works fine with older version of adk (android v2.1.2, ios AEPAnalytics v2.0) and return "aid" value.


If we are passing the mid value on the analytics calls, but are unable to map it to a variable, will that cause any issues with our data other than not being able to pull an ID into our variables?

1 Reply


Employee Advisor

@annat10468254 As I understand you want to track MID in a context variable from a mobile application 

Here is the approach


To capture the MID value you would use the method visitorMarketingCloudID found here Experience Cloud ID Service Methods

Then pass this value via contextData in a trackState, trackAction, collectLifecycleData method and then use it in reporting by passing it to an evar through processing rules.


Also there is a out of box data element which can use to capture the value. You can create a data element like this and trigger a rule in Adobe Launch and send the context data



The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now