Indicates if the passed-in user agent value represents a CHTML browser. CHTML browsers, such as those found on feature phones, use a modified version of HTML to display information on smaller screens with less resources than smartphones. Returns a value of true or false indicating whether the browser uses CHTML. Use this value to determine whether or not to display CHTML content. Use only with landing pages.



Function Properties

1stringRequiredHeader to retrieve from an HTTP request


System returns false because the provided user-agent value represents a Chrome browser on Windows.

System returns true because the provided user-agent value represents a known CHTML browser on a feature phone.

This example uses the HTTPRequestHeader AMPscript funciton to return the browser user-agent value from the current browser. System returns the appropriate value for the provided user-agent value.