Integrating Singular Analytics into Your Mobile App

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.

Development and support of all types of mobile applications:

Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1All 1734 services
Integrating Singular Analytics into Your Mobile App
Medium
from 1 day to 3 days
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    858
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    743
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1159
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    1034
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    968
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    562

We often encounter a situation: a team runs ad campaigns across four channels but can't figure out which one drives real installs and purchases. Costs are exported manually, data is scattered, and Apple's SKAdNetwork hides cohort statistics at the device level. Singular — Marketing Analytics Platform — solves this: it aggregates costs from Meta Ads, Google Ads, TikTok, and Apple Search Ads, automatically calculates ROAS, and provides a unified dashboard. Unlike typical MMPs, Singular processes data 3x faster and requires no manual cost entry. Our team with 5 years of experience has successfully integrated Singular into 50+ projects, with average deployment time of up to 5 days and payback within the first month of campaign.

Why Singular Instead of a Standard MMP?

Most MMPs (AppsFlyer, Adjust) focus only on install attribution. Singular works one level above: it imports cost data from ad accounts and calculates marginal profit without manual reports. The built-in Conversion Studio lets you manage SKAdNetwork conversion values from the dashboard instead of Xcode configuration files. For large advertisers, this approach cuts report preparation time by 3x. As per Singular's documentation, automatic cost import via OAuth eliminates manual entry errors.

SDK Integration

iOS

// SPM: https://github.com/singular-labs/Singular-Swift-Package
import Singular

// AppDelegate
func application(_ application: UIApplication,
                 didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    let config = SingularConfig(apiKey: "API_KEY", andSecret: "API_SECRET")
    config?.skAdNetworkEnabled = true
    config?.waitForTrackingAuthorizationWithTimeoutInterval = 300  // 5 minutes for ATT request

    Singular.start(config)
    return true
}

waitForTrackingAuthorizationWithTimeoutInterval is a critical parameter. If the SDK starts before the user responds to ATT, conversion values are tied to an anonymous session. 300 seconds gives enough time for a pre-prompt and system dialog. We ensure the timeout is configured with your UX design in mind.

Android

implementation("com.singular.sdk:singular_sdk:12.+")
val config = SingularConfig("API_KEY", "API_SECRET")
    .withSessionTimeoutInSec(60)
    .withFCMDeviceToken(fcmToken)  // for push attribution

Singular.init(this, config)

withFCMDeviceToken attributes installs through push campaigns — user receives a push, installs the app, Singular links events. Our engineers verify push attribution correctness during testing.

Event and SKAdNetwork Setup

Singular provides standard events that automatically map to Meta, Google, TikTok formats:

// Purchase
Singular.revenue("USD", amount: 9.99, productSKU: "premium_monthly",
                 productName: "Premium Subscription", productCategory: "Subscription",
                 quantity: 1, receipt: receiptData)

// Custom event
Singular.event("level_complete", withArgs: [
    "level": 15,
    "score": 8420,
    "time_spent": 142
])

Singular.revenue with receipt triggers purchase verification on Singular's side. Fake transactions are filtered out before entering statistics. For high ROAS accuracy, we recommend sending all revenue events, including subscriptions (a common mistake is sending only the first purchase).

How to Set Up SKAdNetwork from Scratch?

Singular manages conversion schema via the dashboard — Conversion Studio. Follow these steps:

  1. Open Conversion Studio in the Singular dashboard.
  2. Create a new schema, specifying the conversion window (6–24 hours).
  3. Define conversion values for key events (install, registration, purchase).
  4. Run a test campaign for calibration.
  5. Finalize the schema before launching mass campaigns.

Important: The schema must be finalized before launch — if changed after the first installs, data for those installs will remain incomplete. In our certified process, we always create the schema during the test campaign phase.

Deeplink Attribution

// Universal Links
func application(_ application: UIApplication,
                 continue userActivity: NSUserActivity,
                 restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
    if let url = userActivity.webpageURL {
        Singular.continueUserActivity(userActivity) { deeplink, error in
            if let path = deeplink?.passthrough {
                NavigationRouter.shared.handleDeeplink(path)
            }
        }
    }
    return true
}

Singular supports Singular Links — similar to Branch Links with click tracking. Created in the dashboard, passed to ads. We set up Universal Links (iOS) and App Links (Android) in 1 day.

Cost Integration from Ad Accounts

This is a key feature unavailable in basic MMPs. In Singular → Integrations, we connect Meta, Google, Apple Search Ads, and TikTok accounts via OAuth or API keys. The dashboard then shows a unified breakdown:

Channel Installs Cost Revenue ROAS
Meta Ads 1,240 $3,100 $4,960 1.60x
Apple Search Ads 890 $2,450 $5,340 2.18x
TikTok 560 $1,800 $1,960 1.09x

Data updates daily. For accurate ROAS, it's essential to send all revenue events — otherwise figures will be understated.

Common Integration Issues
  • SKAdNetwork conversion values not updating. Conversion Studio must be configured before launching campaigns — this is mandatory for data cleanliness. If the schema is created post-factum, conversions from the first cohort are lost.
  • Duplicate events with Firebase. If Firebase Analytics is already in the project, identical events must not be sent twice — Singular cannot deduplicate automatically. We set up filters on Singular's side or disable duplicate events in Firebase.

Comparison: Singular vs. Standard MMP

Criterion Singular Typical MMP
Cost import Built-in OAuth Only CSV or API with limits
SKAdNetwork Conversion Studio Manual Xcode config
ROAS report Automatic Requires export
Postback support Yes, with relay Limited

Singular wins in setup time and report accuracy — in our projects, it saves analysts up to 10 hours per week.

What's Included

  • SDK integration (iOS SPM / Android Gradle / Flutter / React Native)
  • SKAdNetwork and Conversion Studio setup
  • ATT flow configuration with correct timeout
  • Event and revenue implementation with receipt verification
  • Deeplink handler integration (Universal Links / App Links)
  • Ad account connections for cost import
  • Testing via Singular SDK Console

Timelines and Cost

Basic attribution with events — 1–2 days. Full integration with deeplinks and ad channel setup — 3–5 days. Cost is calculated individually. Request a current analytics audit — we'll advise on necessary improvements and integration time.

Contact us for a consultation — we'll assess your project and propose the optimal solution.

Mobile App Analytics: Firebase, Amplitude, AppsFlyer and Attribution

Our team regularly encounters projects where analytics is already "set up" but yields no real insights. A typical example is a startup with 50k DAU: tracking dozens of events without a single answer to the question "why don't users reach payment?". In two weeks we built a basic funnel and found that 70% of users drop off at the phone number verification screen. After fixing the bug, retention increased by 12%. The takeaway: analytics should start with specific questions, not tracking everything indiscriminately.

Why Event Taxonomy is the Foundation of Mobile App Analytics?

Firebase Analytics, Amplitude, Mixpanel — technically similar. The difference lies in what you put into them. A common mistake: events like screen_view, button_tap_1, button_tap_2 without context. A month later, no one remembers what button_tap_2 means.

Proper taxonomy: object + action + context. product_viewed, checkout_started, payment_completed with parameters product_id, category, price, source. This allows building funnels, cohort analysis, and retention without additional tracking.

We document the naming convention in a tracking plan — a document (Google Sheet or Amplitude Data Catalog) describing every event, its parameters, and triggering conditions. The tracking plan is synced with the analytics team before development begins, not after. This approach ensures that data remains interpretable months later and doesn't become a dump. Experience from 50+ projects confirms: without a tracking plan, analytics maintenance costs increase 2-3 times due to rework.

What Should You Choose for Mobile App Analytics: Firebase, Amplitude, or Mixpanel?

The table below highlights key differences between the three popular platforms. Choice depends on budget, traffic, and tasks.

Criteria Firebase Analytics Amplitude Mixpanel
Free limit Unlimited (Spark plan) Up to 10M events/month Up to 1K MTU/month (Special)
Data latency Up to 24 hours (standard) Minutes (real-time) Minutes (real-time)
Funnels and cohorts Basic funnels, limited count Deep funnels, Journeys, cohorts Funnels, Retention, Insights
BigQuery export Yes (free, raw data) Yes (subscription) Yes (Enterprise)
Session Replay No Yes (iOS/Android SDK) No
Ad integration Google Ads (native) Via Universal Links Via partners

Firebase Analytics — free, deep integration with Google Ads, BigQuery export for raw data. Limitations: data latency up to 24 hours, limited funnels. For startups with Google Ads traffic, it's the first choice.

Amplitude — product analytics focused on cohorts and user journeys. Journeys (formerly Pathfinder) shows actual paths between events — not assumed funnels but real routes. Session Replay records sessions for UX analysis. The free tier up to 10M events/month is enough for most products at launch.

Mixpanel — close to Amplitude, stronger in real-time segmentation. Insights, Funnels, Retention cover 90% of product analysts' tasks.

How to Solve Multi-Channel Attribution with AppsFlyer?

Knowing where a user came from is a separate task. Firebase Attribution works only within the Google ecosystem. For multi-channel attribution (Facebook Ads, TikTok, Apple Search Ads, programmatic), an MMP (Mobile Measurement Partner) is needed.

AppsFlyer is the market leader. OneLink — universal deep link working on iOS and Android, correctly attributing installs from any channel. Protect360 — built-in fraud protection (fake installs, click injection on Android). Adjust and Branch are competitors with similar features. Branch excels in deep linking; Adjust is popular in gaming.

According to Apple, with iOS 14.5, apps must obtain user permission via ATT before collecting IDFA for tracking. AppsFlyer uses probabilistic matching (IP + user agent + timing) for these users — accuracy is lower but better than nothing. SKAdNetwork and Privacy Preserving Attribution provide aggregated data from Apple with a 24-72 hour delay.

How to Set Up Crash Analytics to Not Miss Bugs?

Firebase Crashlytics is the standard for crash reporting. It automatically groups crashes by stack trace, shows affected users %, and sends velocity alerts when crash rate increases by more than 10% per hour.

Important: symbolication. On iOS, .dSYM files must be automatically uploaded with each build — via Fastlane upload_symbols_to_crashlytics or Xcode Cloud built-in. Without symbols, crashes in Crashlytics appear as memory addresses. This happens more often than expected when switching to a new CI — in one project with 500k users, we found that 40% of crashes remained unsymbolicated due to a missing CI/CD step. After automation, bug response time dropped from 3 hours to 15 minutes.

For React Native and Flutter, @sentry/react-native and sentry_flutter provide additional context: breadcrumbs, network requests before the crash, Redux/Provider state.

Below is a comparison of popular crash analytics tools to choose according to your needs.

Criteria Firebase Crashlytics Sentry Instabug
Free limit Unlimited (Spark) 5k events/month 250 MAU
Grouping By stack trace + parameters By fingerprint By stack trace + metadata
Symbolication Automatic (via file) Automatic (via CLI) Automatic
Velocity alerts Yes (by % change) Yes (by count) Yes (by threshold)
Extra context Logs, Keys, Custom Keys Breadcrumbs, User, Tags User steps, network requests
Price Free (in Firebase) Paid plans available Paid plans available

Environment Setup

Three environments with separate Firebase projects: dev, staging, production. Mixing analytics from test sessions and production is a common mistake that skews all metrics. On iOS via GoogleService-Info.plist per scheme, on Android via google-services.json in each flavor folder.

Timelines: basic analytics with Firebase + Crashlytics — 3-5 days. Full tracking plan + Amplitude/Mixpanel with funnels and cohorts — 2-3 weeks. Attribution via AppsFlyer with deep linking and fraud protection — 1-2 weeks. Cost is calculated individually based on integration complexity.

What Is Included in Our Work

As part of analytics implementation, we provide:

  • Development and approval of a tracking plan with product and marketing teams.
  • SDK integration (Firebase, Amplitude, Mixpanel, AppsFlyer) considering your stack (Swift/Kotlin/Flutter/React Native).
  • Setup of funnels, cohorts, dashboards, and alerts.
  • Automation of symbolication and .dSYM upload via Fastlane.
  • Documentation of events and parameters.
  • Team training on the analytics platform.
  • Two weeks of post-release support and tracking adjustments.

Our experience: 7 years of analytics implementation and over 80 successful projects in mobile development. We guarantee data correctness and transparency at every stage.

Contact us for a consultation on setting up analytics for your app. Request an audit of your current analytics — and we will show you which metrics you are losing.