Expand my Community achievements bar.

SOLVED

Android post_visid_high/low

Avatar

Former Community Member

Hi,

I have a requirement to use the post_visid_high and post_visid_low from Adobe, but I don't exactly know where to find it.

Is ADMS_Measurement.sharedInstance(context).getVisitorID() the same thing? Should I divide it in half to obtain the high and the lower part of post_visid_high/low?

Thank you!

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

No you won't be able to. What you can send is either the default aid or the marketing cloud visitor ID mid.

mid doc : Marketing Cloud Visitor ID Service Methods

getMarketingCloudId

Retrieves the Marketing Cloud visitor ID from the visitor ID service.

Important: This method can cause a blocking network call and should NOT be called from a UI thread.

default visitor ID:

getTrackingIdentifier

Returns the automatically generated visitor identifier for Analytics.

This is an app-specific unique visitor ID that is generated at the initial launch and is stored and used from that point forward. The ID is preserved between app upgrades, and when the app is uninstalled, it is removed.

Syntax:

  1. public static String getTrackingIdentifier();
https://marketing.adobe.com/resources/help/en_US/mobile/android/analytics_methods.html#wh-view-codeExample:
  1. String trackingId = Analytics.getTrackingIdentifier();

View solution in original post

3 Replies

Avatar

Community Advisor

You will need to extract Data Feed to find this value. When you said a server call, there is a logic that decide which visitor ID to use. The value that you send for the visitor ID is converted to base10 I believe.

https://marketing.adobe.com/resources/help/en_US/reference/datafeeds-reference.html

Columns

Avatar

Former Community Member

But is it possible to extract these 2 values from the Android library directly? I mean I need to send these values to another platform directly from the Android device. Can this be done without involving Data Feed?

Avatar

Correct answer by
Community Advisor

No you won't be able to. What you can send is either the default aid or the marketing cloud visitor ID mid.

mid doc : Marketing Cloud Visitor ID Service Methods

getMarketingCloudId

Retrieves the Marketing Cloud visitor ID from the visitor ID service.

Important: This method can cause a blocking network call and should NOT be called from a UI thread.

default visitor ID:

getTrackingIdentifier

Returns the automatically generated visitor identifier for Analytics.

This is an app-specific unique visitor ID that is generated at the initial launch and is stored and used from that point forward. The ID is preserved between app upgrades, and when the app is uninstalled, it is removed.

Syntax:

  1. public static String getTrackingIdentifier();
https://marketing.adobe.com/resources/help/en_US/mobile/android/analytics_methods.html#wh-view-codeExample:
  1. String trackingId = Analytics.getTrackingIdentifier();