Here’s a memo on how to track campaigns with Google Analytics in iOS apps.
・Campaign Measurement - iOS SDK - Google Analytics — Google Developers
・Google Analytics SDK を使ったスマホアプリのトラッキング|コラム アユダンテ株式会社
For implementation methods, please refer to the above sites.
Campaign tracking cannot be completed within the app alone - it requires opening Safari browser once after the initial launch.
Sometimes you might see apps with strange behavior during first launch - they’re likely gathering information about which channel the download came from.
Personally, I dislike this behavior, so I decided not to use Google Analytics for campaign tracking.
That’s all from the Gemba.