HttpRequestHeader()

Retrieves the header from an HTTP request for a landing page. You can only use this function to retrieve the standard HTTP headers outlined in RFC 7231.

The HttpRequestHeader(headerToRetrieve) function has one parameter:

  • headerToRetrieve (string): Required. The header that you want to retrieve.

To use this function, pass it the name of the header that you want to retrieve.

The function returns the value of the User-Agent header for the HTTP request.