HOME.en.md


RU EN
🏠 Home ❮ Back

Unity Plugin RuStore Install Referrer — attribution tool for advertising and analytics systems

SDK Install Referrer — attribution tool for advertising and analytics systems. It allows you to track the number of installations of your application downloaded from RuStore via advertising links. Unity 6000+ versions are supported.

Installing the plugin in your project

  • Download the files ru.rustore.core-x.y.z.tgz and ru.rustore.installreferrer-x.y.z.tgz from the official repository on GitFlic.
  • Import the downloaded packages into the project via Package Manager (Window → Package Manager → + → Add package from tarball…).
  • Update the project dependencies using External Dependency Manager (Assets → External Dependency Manager → Android Resolver → Force Resolve).

Installing External Dependency Manager

External Dependency Manager for Android is included in the RuStoreCore package. To install, follow these steps.

Open RuStoreCore in the Package Manager window (Window → Package Manager → Packages RuStore → RuStoreCore). Go to the Sample tab. Import the External Dependency Manager sample.

Project Configuration

Open the project settings: Edit → Project Settings → Player → Android Settings.

In the Publishing Settings section, enable the following settings.

  • Custom Main Manifest.
  • Custom Main Gradle Template.
  • Custom Gradle Properties Template.

In the Other Settings section, configure:

  • package name.
  • Minimum API Level = 24.
  • Target API Level = 34.

Open the External Dependency Manager settings: Assets → External Dependency Manager → Android Resolver → Settings, enable the following settings.

  • Use Jetifier.
  • Patch mainTemplate.gradle.
  • Patch gradleTemplate.properties.

VKR Analytics

VKR (VK Referrer Analytics) is additional analytics that automatically sends referrer data when calling GetInstallReferrer().

VKR only works if the following meta tag is added to the application’s AndroidManifest.xml:

<meta-data
    android:name="ru.rustore.sdk.install.referrer.ENABLE_VKR_ANALYTICS"
    android:value="true" />

SDK Initialization

Before calling the library methods, you must initialize the client singleton.

InstallReferrerClient.Instance.Init();

Start exploring the RuStore library documentation with the methods of the InstallReferrerClient class. Or use the online guide.

Technical Support

Additional help and instructions are available in the RuStore documentation and by email at support@rustore.ru.

Distribution Terms

This software, including source code, binary libraries, and other files, is distributed under the MIT license. Licensing information is available in the document MIT-LICENSE.