AppsFlyer integration in Swift


In today’s blog, we will learn AppsFlyer integration in swift.

AppsFlyer is used to track app installation and event recording functionality. You can track in-app events, like app launch, product viewed, orders tracking, etc.

Let’s check below the AppsFlyer integration in swift procedure.

Install the SDK:

Step1: Firstly, add the dependecy.

Step2: Run pod install command.

Initialize the SDK:

Step1: Import the dependencies.

Step2: In AppsFlyer, go to Configuration > App Settings

Copy your dev key, and save it.

Now, initialize the SDK with the below code.

Step3: Then, start the SDK by writing the below code in the “applicationDidBecomeActive” function.

Step4: Finally, you can call the events you want to track. Please check below sample code to track the items add to the wishlist.

To check all the events please follow this link.

After initializing the events, your Appsflyer dashboard will look like this.

Hope this blog helped you with a better understanding of AppsFlyer.

For more interesting blogs check out here –

Thanks for reading 🙂

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

Markus Walter

Markus Walter

Founder, Das Apartment Living

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home