QueryParameter

Overview

Retrieves the value from a query string, based on the key defined for it. Use this function to provide information on users visiting a site via the URL.

Syntax

QueryParameter(1)

Function Properties

Ordinal Type Description
1 string Required Key used to pull value

Usage

http://example.com?j=Tim

AMPscript

SET@VAR=QUERYPARAMETER('j')

System returns:

Tim
Last Updated: Jun 8, 2021