Personalize field to Shopify button email link

Hi Community!,

I’m trying to customize the link sent out from the Shopify email using Liquid.

The expected output of the link when the recipient clicks on the button is

https://www.aaa.com?name={{ data.customer.first_name }}{{ data.customer.last_name }}&email={{ data.customer.email }}&a2=1

However, the actual link from the email didn’t replace the variables {{ data.customer.first_name }}{{ data.customer.last_name }} and {{ data.customer.email }}. Instead, it removes those variables and add &syclid back to the link value.

https://www.aaa.com?a2=1&syclid=ckrql8fvoevs7395knbg

How can I use the Custom liquid to generate personalized link to the email recipient?

Thank you for your help!