Analytics/Statistics
How to integrate analytics/statistics services in EasyApp
You can view your app's analytics data in App Store Connect, including downloads, user retention, user activity, and more.
However, App Store Connect isn't perfect - its statistics data isn't real-time, and it can't track detailed user behavior data. Therefore, we need to integrate real-time data analytics services to work alongside App Store Connect for a more comprehensive understanding of your app's usage.
EasyApp uses OpenPanel as its data analytics service.
OpenPanel has the following advantages:
- Completely open source, can be self-hosted
- Cost-friendly pricing
- Simple integration and easy to use
EasyApp template enables OpenPanel by default. If you don't need analytics services, you can disable OpenPanel.
Open the EasyAppSwiftUI/Constants/Constants.swift file, find the Constants -> OpenPanel enum, and configure isEnabledOpenPanel to false.
enum Constants {
// ... other configurations
/// OpenPanel is enabled
static let isEnabledOpenPanel = false
// ... other configurations
}Configure OpenPanel
First, register an OpenPanel account.
Then, click Create a Project to create a project.
Enter your project name, select App, and click Create project.

Next, copy the Client ID and Secret.

Complete the remaining steps.
Configure EasyApp
Open the EasyAppSwiftUI/Constants/Constants.swift file, find the Constants -> OpenPanel enum, and configure the clientID and secret you just copied.
enum Constants {
// ... other configurations
/// OpenPanel client ID
static let clientID = "your client id"
/// OpenPanel secret
static let secret = "your secret"
// ... other configurations
}EasyApp enables automatic event tracking by default. If you don't have specific requirements for detailed event tracking in your app, you can start using OpenPanel after completing the above configuration steps.
If you need more detailed event tracking, user property settings, and other features, you can refer to the OpenPanel documentation. This article won't go into further detail on those topics.
Last updated on