Admost Sherlock Analytics Service
Overview
This is an analytics service that integrates Admost SDK with the Sherlock module for ad monetization analytics and tracking. For detailed information, please refer to https://matchinghamgames.gitlab.io/docs/sherlock-analytics/.
Installing
- Import package from Package Manager UI.
- Ensure Admost MGSDK Bridge (v7.0.0+) is properly installed.
- Compatible with Unity 2022.3+.
API & Details
-
: (Deprecated) This method is no longer functional and is kept for backward compatibility only.SendCustom(eventName: string, parameters: IDictionary<string, object> (null))
-
SendIapEvent(tags: string[], identifier: string, receipt: string, isoCurrencyCode: string, localPrice: float)
: Admost in-app purchase analytics event. Accepts custom tags to categorize in-app purchases. These tags can indicate things like which interface the purchase was made from. -
TrackAdmobRevenue(adFormat: string, revenue: double, placementId: string, adUnitId: string)
: If you are using Admob, you can use this to send impression-level revenue data to Admost analytics.
Features
- Initialization depends on Admost MGSDK Bridge, removing the need for Vegas Admost package
- Timeout handling when waiting for Admost Bridge
- In-app purchase tracking with custom tag support
- Admob revenue tracking
Dependencies
- Admost MGSDK Bridge (v7.0.0+)
- Handyman (v5.8.2+)
- Sherlock Analytics Core (v12.1.0+)
- Unity (v2022.3+)
- Logger (v2.1.0+)
Notes
- The service will automatically handle initialization once the Admost Bridge is ready
- SendCustom method is deprecated and no longer functional
- Compatible with log4net when enabled
- Only compiles for Editor, Android, iOS, and tvOS platforms