first_​party_​marketing

Version: v2025-01-13Includes use: No

Behavior name: Cloud Marketing Cloudlet (Beta)

Enables the Cloud Marketing Cloudlet, which helps MediaMath customers collect usage data and place corresponding tags for use in online advertising. You can configure tags using either the Cloudlets Policy Manager application or the Cloudlets API. See also the first_party_marketing_plus behavior, which integrates better with both MediaMath and its partners. Both behaviors support the same set of options.

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" "first_party_marketing_plus" {
  rules_v2025_02_18 {
    name     = "Cloud Marketing Plus Cloudlet (Beta)"
    comments = "Enables the Cloud Marketing Plus Cloudlet."
    behavior {
      first_party_marketing_plus {
        enabled                    = true
        java_script_insertion_rule = "ALWAYS"
        media_math_prefix          = "/dcpp"
      }
    }
  }
}
"behaviors": [
  {
  "name": "firstPartyMarketingPlus",
  "options": {
    "enabled": true,
    "javaScriptInsertionRule": "ALWAYS",
    "mediaMathPrefix": "/dcpp"
    }
  }
]

Options

Option Description
enabled
Enables the Cloud Marketing Plus Cloudlet.
java_script_insertion_rule
Select how to insert the MediaMath JavaScript reference script. Value is one of:
  • NEVER. Specify this if inserting the script at the origin.
  • POLICY. Allow the Cloudlet policy to determine when to insert it.
  • ALWAYS. Insert it for all edge requests.
cloudlet_policy
Identifies the Cloudlet policy. Contains:
  • id. The cloudlet's ID.
  • name. The cloudlet's name.
media_math_prefix
Specify the URL path prefix that distinguishes Cloud Marketing requests from your other web traffic. Include the leading slash character, but no trailing slash. For example, if the path prefix is /mmathand the request is for www.example.com/dir the new URL is www.example.com/mmath/dir.