Android post_visid_high/low | Community
Skip to main content
September 15, 2017
Solved

Android post_visid_high/low

  • September 15, 2017
  • 3 replies
  • 2572 views

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!

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 Alexis_Cazes_

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();

3 replies

Alexis_Cazes_
Level 10
September 18, 2017

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

September 18, 2017

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?

Alexis_Cazes_
Alexis_Cazes_Accepted solution
Level 10
September 18, 2017

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();