How does the landing page show user's email?

Your software
My Mautic version is: 6.0.6
My PHP version is: 21
My Database type and version is: MySQL, 9.5

Your problem
My problem is:

How do I encode a visitor’s email on a landing page? I’ve tried:

{contactfield=email}

{leadidentifier}

{lead.email}

{contact.email}

But they all show up literally, not getting translated by the real contact’s email.

My flow is this:

  1. Send email to Contact
  2. Contact can click a button in the email to a landing page
  3. I see the url /r/xxxxx has encoded contact’s email when re-directing to the landing page
  4. I wanted to show something like: Your email {contact_email} is recorded! But it shows literally {contact_email} the variable

These errors are showing in the log:

I didn’t see any errors in the logs

Steps I have tried to fix the problem:

I’ve tried four variants ({contactfield=email}{leadidentifier} {lead.email} {contact.email}), and also read: Variables — Mautic Documentation 0.1 documentation