View Dynamic Links Analytics Data

Note: Firebase Dynamic Links isdeprecated and should not be used in new projects. The service will be shutting down soon. Follow the migration guide and see theDynamic Links Deprecation FAQ for more information.

To help you gauge the effectiveness of your promotions and campaigns,Firebase Dynamic Links provides several ways to view analytics data and integratewith analytics tools.

Firebase Dynamic Links records events related to yourDynamic Links' performance,including events that happen outside of your apps, such as the number of timessomeone clicks on one of your shortDynamic Links. This data can be viewed in theDynamic Links section of theFirebase console and retrieved using a REST API.

Dynamic Links also work withGoogle Analytics.Google Analytics provides detailed statistics for events that happen inyour app, such as when someone opens your app by clicking aDynamic Link. This datacan be viewed in the Analytics section of theFirebase console.

The following table summarizes the features of these two analytics options:

Firebase Dynamic Links analyticsGoogle Analytics
Events tracked
  • App first-open
  • App re-open
  • Clicks
  • Redirects
  • App installs
  • App first-open
  • App re-open
  • App updates
Data access
  • Firebase console (Dynamic Links section)
  • REST API
  • Firebase console (Analytics section)
  • BigQuery export
Custom campaign attribution
(utm_ parameters)

Both analytics options track in-app events that web-based tracking tools oftenmiss. For example, when aDynamic Link is opened on iOS as a Universal Link, the linkis opened directly by the app, bypassing web analytics; these events arecorrectly tracked by bothFirebase Dynamic Links analytics andGoogle Analytics.

Note: If you useFirebase Dynamic Links analytics orGoogle Analytics to trackDynamic Link usage, do not wrap yourDynamic Links in custom URLs, such as those createdby link shortening services. By doing so, you prevent Firebase from accuratelytracking your links.

Firebase Dynamic Links analytics

Firebase Dynamic Links tracks the number of times each of your shortDynamic Links havebeen clicked, as well as the number of times a click resulted in a redirect, appinstall, app first-open, or app re-open. You can view these statistics in theFirebase console or retrieve them with a REST API.

EventDescriptionFirebase consoleREST API
CLICKCount of any click on a Dynamic Link, irrespective to how it is handled and its destinations
REDIRECTCount of attempts to redirect users, either to the App Store or Play Store to install or update the app, or to some other destination
APP_INSTALLCount of actual installs (only supported by the Play Store)
APP_FIRST_OPENCount of first-opens after an install
APP_RE_OPENNumber of times the Dynamic Link caused an app to be re-opened

Firebase console

In theFirebase console, you can view event countsfor each shortDynamic Link you created in the console.

REST API

To get event counts for any of your shortDynamic Links, whether you created the linkin the console or programmatically, you can use theDynamic Links Analytics REST API.

An API call looks like the following example HTTP request:

GET https://firebasedynamiclinks.googleapis.com/v1/https%3A%2F%2Fexample.page.link%2FwXYz/linkStats?durationDays=7Authorization: Bearer ya29.Abc123...

The response to a request is a JSON object like the following:

{  "linkEventStats": [    {      "platform": "ANDROID",      "count": "123",      "event": "CLICK"    },    {      "platform": "IOS",      "count": "123",      "event": "CLICK"    },    {      "platform": "DESKTOP",      "count": "456",      "event": "CLICK"    },    {      "platform": "ANDROID",      "count": "99",      "event": "APP_INSTALL"    },    {      "platform": "ANDROID",      "count": "42",      "event": "APP_FIRST_OPEN"    },    ...  ]}

Google Analytics

You can also useGoogle Analytics in your app to track the performance ofyourDynamic Links. The followingAnalytics events are automatically logged whenyou open a short or longDynamic Link in your app.

Analytics events
dynamic_link_first_openLogged when a user opens the app for the first time via aDynamic Link.
dynamic_link_app_openLogged when a user re-opens the app via aDynamic Link.
dynamic_link_app_updateLogged when the app is updated to a new version via aDynamic Link. Android only.

You can then view the logged data in the Analytics section of theFirebase console.

Dynamic Links events in<span>Google Analytics</span>

If you markDynamic Link events as conversions, you can see how yourDynamic Links areperforming on the Attribution page.

Google Analytics and Apple App Analytics campaign parameters

You useDynamic Links with your existing Google Analytics custom campaigns and iTunesConnect App Analytics campaigns by specifying campaign parameters when youcreate aDynamic Link. When a user opens aDynamic Link with campaign parameters specified, the campaign parameters are passedon to Google Analytics or the App Store.

By adding these tracking parameters to yourDynamic Links, Google Analytics andiTunes Connect can treat them like any other campaign it's measuring attributionreporting for, and you can view conversion events not just by the ad campaignsresponsible for bringing in those users, but also by whichDynamic Links might havebrought them in.

The following parameters are passed to Google Analytics:utm_source,utm_medium,utm_campaign,utm_term,utm_content.

The following parameters are passed to the App Store:at,ct,mt,pt

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-04 UTC.