Monetize your App without showing Ads


Monetize your App with an additional revenue stream without showing Ads. Integrate our Android SDK with only some lines of code and start your monetization.

We collect non-personal identifiable data (non-PII) from your app to help fuel our mobile audience technology. The 42matters profiler sdk has a tiny footprint under 40k, and the integration requires only several lines of code. Only the accessing internet and networks states permission is required.

How to integrate in your app

Prerequisites

Integrate the library

  1. Download and reference it or put the following repository and dependency in your build.gradle:

    repositories {
        maven {
            url "http://dl.bintray.com/42matters/android"
        }
    }
    
    dependencies {
        compile 'com.core42matters.android:profiler:1.2.4@jar'
    }
  2. Configure your app's AndroidManifest.xml like this

    <?xml version="1.0" encoding="utf-8"?>
    <manifest ... >
        ...
        <!-- Permissions -->
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
        <application ... >
            ...
            <!-- You app id  -->
            <meta-data
            android:name="42:appid"
            android:value="YOUR_APP_ID" />
        </application>
    
    </manifest>

    Replace YOUR_APP_ID with the app id you get on your app page

  3. If you use proguard, add these into your proguard-rules.pro if your app does not use Google Play Services

    -dontwarn com.google.android.gms.**
  4. Call Profiler.init in the onCreate of starting activity or the onCreate of your Application context.

    import com.core42matters.android.profiler.Profiler;
    ...
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ...
        Profiler.init(this);
        ...
    }                    

    Start up your app, and you would see successful hits in the dashboard.

    After you integrated and see successful hits, please contact us for the next steps.

Privacy

You need to provide a preference in the default shared preferences for users to opt out at any time. The default key for the preference is com.core42matters.android.profiler.personalized. The github sample also shows how to implement this in the preferences. Furthermore you need to state the SDK and it's usage in your data privacy policy.

Contact us

If you have any questions when implementing these, feel free to contact us.


Last Modified: 2017-10-30


Get Free Support


We offer free email support to all our customers, with the 42matters team glad to provide you prompt, professional support. We’re here to help.


CONTACT US