Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I would like to have a link, that when the customer clicks on it, automatically a tag is added to the customer. I want to put this link in an email where the customer can choose which gift he wants to get. So when he clicks on one of the gifts, he gets a tag with the name of the gift.
Thanks!
HI @robert3a,
In order to achieve what you want you have to first ask your customer to register to your store, and take him to register page, and on the register code page just add the below line
<input type="hidden" name="customer[tags]" value="your_tag_name"/>
and replace the "your_tag_name" with the tag name that you want your customers to have.
Once they have successfully registered they will be automatically tagged with the tag name you gave.
let me know if yu have any difficulty in implementing it
Thanks