In the wake of Apple's ATT, mobile advertisers have lost visibility into ad performance on iOS, a challenge that will intensify with Google’s upcoming privacy sandbox. Geeklab is committed to providing a privacy-centric marketing performance analytics platform that aggregates results at the device level and delivers metrics at a creative level, bypassing user-level data.
- Enable advertisers to run and measure the performance of iOS campaigns through Geeklab’s intuitive web UI, focusing on creative-level data.
Developers and marketers will need to:
- Develop their game using Unity.
- Integrate Geeklab’s AudienceLab Unity SDK.
This section provides a step-by-step guide to integrate the AudienceLab SDK into your Unity project.
-
Download the SDK: Obtain the latest version of the AudienceLab SDK ZIP file provided by Geeklab.
-
Import the SDK into Unity:
- Unzip the downloaded SDK into your Unity project's
Packages
folder. - Open your Unity project and ensure that the SDK contents are correctly imported.
- Unzip the downloaded SDK into your Unity project's
-
Resolve Dependencies:
- Unity's dependency resolver will automatically start upon opening the project after the SDK has been added.
- Confirm that all dependencies are correctly installed without errors.
-
Open the SDK Setup:
- Navigate to
AudienceLab SDK
from the Unity menu to open the setup modal. - This user interface allows you to configure the SDK settings specific to your project.
- Navigate to
-
Authentication:
- Enter the authentication token provided by AudienceLab in the setup modal.
- Click "Verify" to link your Unity project with your configured application on AudienceLab.
-
Enable Features:
- Ensure that
isSDKEnabled
andSendStatistics
are checked to activate the SDK’s core functionality. ShowDebugLog
is optional but recommended during initial setup for troubleshooting.
- Ensure that
-
Build and Release:
- Once the SDK is configured, compile and build your Unity project.
- Release the built application on the appropriate platforms.
-
Monitor Application Performance:
- Utilize the AudienceLab dashboard to monitor real-time performance and analytics of your application.
This function is used to track custom purchase events within your application.
Implementation Steps:
- Call After Purchase: Trigger this function immediately after a purchase is made.
- Check Configuration: The function checks if the SDK is fully enabled.
- Log Event: If logging is enabled, the purchase event is logged for debugging.
- Prepare and Send Data: Data about the purchase is packaged and sent to the backend for tracking.
Example Usage:
PurchaseMetrics.SendCustomPurchaseEvent("123", "Premium Pack", 0.99, "USD", "Completed");
{
"item_id": "string",
"item_name": "string",
"value": "double",
"currency": "string",
"status": "string"
}
This function allows for tracking ad views with detailed information about the interaction.
Implementation Steps:
- Call After Viewing Ad: Execute this function right after an ad is viewed.
- Check SDK Status: Verifies if the SDK is enabled.
- Log Event: Logs the event if debugging is active.
- Prepare and Send Data: Collects data about the ad view and sends it to the backend.
Example Usage:
AdMetrics.SendCustomAdEvent("ad_001", "Interstitial Ad 1", "GoogleAds", 30, true, "Google", "CampaignA", 0.04, "USD");
{
"ad_id": "string",
"name": "string",
"source": "string",
"watch_time": "int",
"reward": "bool",
"media_source": "string",
"channel": "string",
"value": "double",
"currency": "string"
}
By following these steps, developers can effectively utilize AudienceLab to track and optimize their mobile advertising campaigns in a privacy-centric world. Ensure all configurations and integrations are tested thoroughly to guarantee accurate data collection and performance analysis.