Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 690 Bytes

acquisition-methods.md

File metadata and controls

22 lines (15 loc) · 690 Bytes

Acquisition methods

The following Acquisition method is provided by the Android library:

  • campaignStartForApp

    Allows developers to start an app acquisition campaign as if the user clicked a link. This is helpful for creating manual acquisition links and handling the app store redirect yourself.

    • Here is the syntax for this method:

      public static void campaignStartForApp(final String appId final Map<String Object> data); 
    • Here is the code sample for this method:

      Acquisition.campaignStartForApp("0652024f-adcd-49f9-9bd7-2552a4564d2f" new 
      HashMap<String Object (){{
           put("custom.key" "value");
      }});