media_​client

Version: v2025-01-13Includes use: No

Behavior name: Media Client

Enables client-side reporting through analytics beacon requests.

Default behavior

These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.

data "akamai_property_rules_builder" "media_client" {
  rules_v2025_02_18 {
    name     = "Media Client"
    comments = "Enables client-side reporting through analytics beacon requests."
    behavior {
      media_client {
        enabled             = true
        beacon_id           = ""
        use_hybrid_http_udp = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "mediaClient",
    "options": {
    "enabled": true,
    "beaconId": "",
    "useHybridHttpUdp": true
    }
  }
]

Options

Option Description
enabled
Enables client-side download analytics.
beacon_id
Specifies the ID of data source's beacon.
use_hybrid_http_udp
Enables the hybrid HTTP/UDP protocol.