CARBON™ Snippet enables you to aggregate your mobile app users for the purposes of analyzing and enriching user data. This facilitates a better understanding of your audiences, engaging them through effective marketing campaigns and efficiently providing product or places recommendations.
This document is intended for the mobile app developer. The instructions below explain how to trigger the Pixel by leveraging NATIVE Implementation or simulating a pixel fire via WebView within your App.
For mobile apps using WebView, developers can use the regular web approach of triggering pixels with an HTTP call to CARBON’s servers, in the form of <script> tag loaded on your website.
For Native apps without WebView, developers can manually generate pixels that triggers within their apps by constructing and sending HTTP requests. However, developers will need to populate the HTTP call to the CARBON™ Pixel server with IDFA and/or Android AID.
To determine users across apps, CARBON™ uses device specific advertising identifier provided by the mobile OS, known as IDFA on the iOS and AAID on Android.
For your app to use these advertising identifiers, the following OS versions are required:
For each method of implementing snippet in mobile apps described in this document, a developer will need to know the following.
|ifa||Required||IDFA iOS (apple devices) or AAID for Android devices||String|
|ADDITIONAL_PARAMETERS||Optional||Additional information to send to TerminalOne at the time of pixel fire.||String. URL-encoded string of parameters (e.g. "v1=data1&v2=data2&s1=data3")|
Additional parameters can be used for
To fire CARBON™ pixel on iOS devices without SDK, do the following in your app’s code:
To fire the CARBON™ pixel on Android devices, follow these steps in your app’s code.
If you have any questions on how to integrate CARBON™ snippet in your app, please feel free to contact us at firstname.lastname@example.org.