FROM CACHE - en_header

Adding customer tags to existing subscriber

sauls1
Shopify Expert
3 0 2

I'm using the customer form to create a newsletter popup. How would I add contact tags to an existing subscriber?  

 

Using the following will add the tag correctly for new customers, but when submitting the form as an existing customer, the tag is not added. 

<input type="hidden" name="contact[tags]" value="campaign__name">
 

Section 5 here, https://help.shopify.com/en/themes/customization/forms/get-consent-for-promotional-emails, doesn't give any detail about handling updates to existing customers, or adding multiple tags.

Replies 11 (11)
robbie_inq
Tourist
3 0 1

I'm having the exact same issue. There must be a way to do this, right? I need to have a way to manually tag a customer if they take a certain action on my site that doesn't require making a purchase!

sauls1
Shopify Expert
3 0 2

I know right! I worked out that you can add tags to a new customer record, without needing customers to place an order, but you can't update an existing customer record. Take a look at newsletter.liquid on the Debut theme. 

 

Hope that helps! 

 

 

NicolAvontuur
New Member
1 0 0

Hi,

I am also running into the problem that tags are not added to existing subscribers. I have build a landingpage in Pagefly including a customer form. I would like to send follow-up e-mails to everyone submitting an e-mail address, existing as well as non-existing customers in Shopify. At the moment submit is only adding new, but not updating or addings tags to existing customers.

Any idea how I can add tags to existing customers submitting their email address on the landing page?

Best regards,
Nicol

 

tim
Shopify Expert
3040 170 1096

Unfortunately, you need an App to allow customers edit their data. there is no way to update customers from front-end (your theme) without using apps. https://apps.shopify.com/customr can do this if I remember correctly.

My post solved your problem? Like it!
ADSivaia
New Member
2 0 0

Hello

Did you find a way to add a tag to an existing customer with a form?

Thanks by advance  and best regards

michael-helium
Shopify Expert
261 2 139

I can confirm that the Customer Fields app mentioned above offers support with this. Our team has created a front-end API to help with the functionality being requested on this thread.

Michael, COO @ Helium
- Customer Fields ✪✪✪✪✪ (265 reviews)
- Meteor Mega Menu ✪✪✪✪✪ (217 reviews)
ADSivaia
New Member
2 0 0

Thanks for your feedback Mickaël.

No other way directly in a liquide code?

Thanks and best regards

Anne-Délia

sauls1
Shopify Expert
3 0 2

Hi Anne-Délia - Not that I know of - I ended up creating my own API to handle this.

pixelnbyte
Shopify Partner
3 0 1

I would love to see your API to implement this. Would you share?

andreafesti
New Member
1 0 0

Can you share how U did? thank you

Allie3
Tourist
5 0 1

I am having the same issue and am also using PageFly. Did you end up finding a solution?