Runtime verified Test scripts included

Creates a new globally unique identifier (GUID). Takes no parameters; any that are passed are ignored.

Syntax

{{guid}}

Returns string.

Parameters

Takes no parameters.

Example

Tested in a Marketing Cloud Next email on 2026-11-22:

  • {{guid}} renders 2e91d93e-b0c6-4e35-90f7-aeec80323606.
Show Next test script
<!-- Marketing Cloud Next test script for the guid helper. Paste it into the HTML component of a
     Next email and open the preview. Each line prints the result Next gave when the call
     was rendered on its own (expect) next to the result of this run (got).
     Assembled from single-call test emails (dates on the page); it has not been
     run as one email. Calls that make Next fail are listed separately. -->
<p>c1 expect=[2e91d93e-b0c6-4e35-90f7-aeec80323606] got=[{{guid}}]</p>

Marketing Cloud Next

Works as documented

{{guid}} renders a new lowercase GUID with hyphens, such as 2e91d93e-b0c6-4e35-90f7-aeec80323606. Tested 2026-11-22 by rendering in a Marketing Cloud Next email.

See also