GuideReference
TrainingSupportCommunity
Reference

first_​party_​marketing

  • Property Manager name: Cloud Marketing Cloudlet (Beta)
  • Behavior version: The v2024-05-31 rule format supports the first_​party_​marketing behavior v1.0.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: No (temporarily)

Enables the Cloud Marketing Cloudlet, which helps Media​Math 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 Media​Math and its partners. Both behaviors support the same set of options.

OptionTypeDescriptionRequires
enabledboolean

Enables the Cloud Marketing Cloudlet.

{"displayType":"boolean","tag":"input","type":"checkbox"}
java_​script_​insertion_​ruleenum

Select how to insert the Media​Math Java​Script reference script.

{"displayType":"enum","options":["NEVER","POLICY","ALWAYS"],"tag":"select"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
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_​policyobject

Identifies the Cloudlet policy.

java_​script_​insertion_​rule is POLICY
{"displayType":"object","tag":"input","todo":true}
{"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"javaScriptInsertionRule","op":"eq","value":"POLICY"}]}}
cloudlet_​policy.idnumber

Identifies the Cloudlet.

cloudlet_​policy.namestring

The Cloudlet's descriptive name.

media_​math_​prefixstring

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 /mmath, and the request is for www.​example.​com/dir, the new URL is www.​example.​com/mmath/dir.

{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enabled","op":"eq","value":true}}