---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/mobile/kotlin-android/destination-plugins/flurry-kotlin-android#article
headline: Analytics Kotlin Flurry Plugin
description: Add the Flurry destination plugin to the Segment Analytics-Kotlin library to send mobile event, screen, and user data to Yahoo Flurry in device mode.
url: https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/mobile/kotlin-android/destination-plugins/flurry-kotlin-android
inLanguage: en
dateModified: 2026-06-25T22:35:15.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Analytics Kotlin Flurry Plugin

[Flurry](https://developer.yahoo.com/analytics/?soc_src=mail\&soc_trk=ma) provides you with the tools and resources you need to gain a deep level of understanding about your users' behavior in your apps.

## Getting started

1. From the Segment web app, click **Catalog**.
2. Search for *Flurry* in the **Catalog**, select it, and choose which of your sources to connect the destination to.
3. In the destination settings, enter your Flurry "API Key" in Segment's Settings UI. You can retrieve this from your **Flurry Admin > Apps > API Key**. It should look like "4KKKGS3BAK4WW8WJ93DN".
4. Follow the instructions in the GitHub repos: [iOS SDK](https://github.com/segment-integrations/analytics-ios-integration-flurry) and [Android SDK](https://github.com/segment-integrations/analytics-android-integration-flurry).
5. Once the Segment library is integrated with your app, toggle Flurry on in your Segment UI.

**Note**: Flurry doesn't always display data in real time. It can take anywhere from a few hours to a few days for certain types of data to sync with Flurry.

## Adding the dependency

To install the Segment-Flurry integration, add this line to your gradle file:

```text
implementation 'com.segment.analytics.kotlin.destinations:flurry:<latest_version>'
```

Or the following for Kotlin DSL:

```text
implementation('com.segment.analytics.kotlin.destinations:flurry:<latest_version>')
```

## Using the plugin in your app

Open the file where you set up and configure the Analytics-Kotlin library. Add this plugin to the list of imports.

```text
import com.segment.analytics.kotlin.destinations.flurry.FlurryDestination
```

Under your Analytics-Kotlin library setup, call `analytics.add(plugin = ...)` to add an instance of the plugin to the Analytics timeline.

```text
analytics = Analytics("<YOUR WRITE KEY>", applicationContext) {
    this.flushAt = 3
    this.trackApplicationLifecycleEvents = true
}
analytics.add(plugin = FlurryDestination())
```

Your events will now begin to flow to Flurry in device mode.

## Screen

If you're not familiar with the Segment Specs, take a look to understand what the [Screen method](/docs/segment/connections/spec/screen/) does.

An example Screen call would look like:

```java
analytics.screen("ScreenName", buildJsonObject {
    put("productSlug", "example-product-123")
});
```

**Note**: When you toggle the Screen Tracks As Events option on in your Flurry Segment UI, Screen calls are treated as events when sending them to Flurry.

## Identify

If you're not familiar with the Segment Specs, take a look to understand what the [Identify method](/docs/segment/connections/spec/identify/) does.

An example Identify call would look like:

```java
analytics.identify("user-123", buildJsonObject {
    put("username", "MisterWhiskers")
    put("email", "hello@test.com")
    put("plan", "premium")
});
```

When you call [Identify](/docs/segment/connections/spec/identify/), the user ID is set in Flurry, as are any special Flurry `traits` you provide, such as `gender`, or `age`.

## Track

If you're not familiar with the Segment Specs, take a look to understand what the [Track method](/docs/segment/connections/spec/track/) does.

An example Track call would look like:

```java
analytics.track("View Product", buildJsonObject {
    put("productId", 123)
    put("productName" "Striped trousers")
});
```
