# Firebase Dynamic Links API . v1

## Instance Methods

Fetches analytics stats of a short Dynamic Link for a given

### Method Details

`getLinkStats(dynamicLink, durationDays=None, x__xgafv=None)`

    Fetches analytics stats of a short Dynamic Link for a given
    duration. Metrics include number of clicks, redirects, installs,
    app first opens, and app reopens.

    Args:
      dynamicLink: string, Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz (required)
      durationDays: string, The span of time requested in days.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Analytics stats of a Dynamic Link for a given timeframe.
        "linkEventStats": [ # Dynamic Link event stats.
          { # Dynamic Link event stat.
            "count": "A String", # The number of times this event occurred.
            "platform": "A String", # Requested platform.
            "event": "A String", # Link event.
          },
        ],
      }