---
schema_version: "1"
id: c8a81a26f8b80f7dd7b87b44b6fcf5850bc68dc3355001779c873a113f224f39
title: AMPscript Site Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/sites/mc-ampscript-reference-sites.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c6edecc0e700b29351e9b9ccb77746a159b7beba1b28628e95a8d537245cac22
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# AMPscript Site Functions

Use the functions to interact with site content in Marketing Cloud Engagement, such as CloudPages and microsites.

This table lists all of the AMPscript functions related to sites. The value in the Engagement column indicates whether Marketing Cloud Engagement supports the function. The value in the Next column indicates whether Marketing Cloud Next supports the function.

| Function Name                                                                                                             | Description                                                                       | Engagement  | Next        |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------- | ----------- |
| [AuthenticatedEmployeeId()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-id.md)                                    | Returns the employee ID of the current Marketing Cloud Engagement user.           | ✅&nbsp;Yes | ❌ No       |
| [AuthenticatedEmployeeNotificationAddress()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-notification-address.md) | Returns the email address of the current Marketing Cloud Engagement user.         | ✅ Yes      | ❌ No       |
| [AuthenticatedEmployeeUserName()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-username.md)                        | Returns the username of the current Marketing Cloud Engagement user.              | ✅ Yes      | ❌ No       |
| [AuthenticatedEnterpriseID()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-enterprise-id.md)                                | Returns the enterprise ID of the current authenticated landing page user.         | ✅ Yes      | ❌ No       |
| [AuthenticatedMemberID()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-id.md)                                        | Returns the member ID of the authenticated landing page user.                     | ✅ Yes      | ❌ No       |
| [AuthenticatedMemberName()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-name.md)                                    | Returns the member name of the authenticated landing page user.                   | ✅ Yes      | ❌ No       |
| [CloudPagesURL()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-cloud-pages-url.md)                                                        | Returns a CloudPages URL with an encrypted query string.                          | ✅ Yes      | ❌ No       |
| [IsNullDefault()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-is-null-default.md)                                                        | Lets you create default values for empty fields in Smart Capture forms.           | ✅ Yes      | ✅&nbsp;Yes |
| [LiveContentMicrositeURL()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-live-content-microsite-url.md)                                   | Returns a link to view live content on a microsite.                               | ✅ Yes      | ❌ No       |
| [MicrositeURL()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-microsite-url.md)                                                           | Returns a microsite URL with an encrypted query string.                           | ✅ Yes      | ❌ No       |
| [QueryParameter()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-query-parameter.md)                                                       | Retrieves a value from a URL query string.                                        | ✅ Yes      | ❌ No       |
| [Redirect()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-redirect.md)                                                                    | Redirects landing page visitors to a different URL.                               | ✅ Yes      | ❌ No       |
| [RequestParameter()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-request-parameter.md)                                                   | Returns the value of a parameter from a form field or landing page URL parameter. | ✅ Yes      | ❌ No       |
