As the title states, I am having issues adding a contact form to my email campaign using the Shopify Email app. The email app allows me to input a section using “Custom Liquid”.
I followed the instructions given to me from Shopify’s support bot but came to realise the instructions are referencing ‘liquid’ code where as my theme uses ‘JSON’ code (I am a little out of my depths here so apologies if I use any of these terms incorrectly). The bot instructed me to locate ‘page.contact.liquid’ within my websites coding.
All I can find is ‘page.contact.json’. When I asked the bot how to add a contact form to my email campaign using JSON code, it just instructed me to add a button that leads to my contact page.
I don’t want to just add a button or link in my email campaign as it discourages people from engaging with the form. I want the users to be able to quickly input their thoughts directly in the email.
I’ve attempted multiple workarounds but can’t seem to make any of them work. If someone has a solution to this issue, I would really appreciate the help! I hope this explanation makes sense.
hi, it is not recommended to place a form in the email body for two reasons:
1、 Not all email clients support the form in email.Even if you can put a form in the email, some email client will strip the form action attr.
2、When you submit the shopify contact form, shopify will verify the randomly generated captcha token . You cannot obtain this token in advance and put it in the email template.So even if you can put a form in the email, you still can’t bypass the token verification when submitting the form
However, I still tried to put a form in the email body and sent a test email. It displayed normally, but could not pass the captcha verification.
It sounds like you’re facing challenges incorporating a contact form directly within your Shopify Email campaigns using the Custom Liquid section. Unfortunately, Shopify Email is designed more for simple content rather than dynamic forms due to security and compatibility issues with embedding forms in emails.
This is why Shopify’s solution of linking to an external contact form page is commonly suggested. I would suggest you create a form in Tally and connect it to your email app instead. You can use EmbedAny app to embed your form template directly into your store.
Thank you for the response. I appreciate your time.
That is unfortunate to learn. Unless I am misunderstanding your response, I can already link my contact page using a button on my email campaigns so there’s no need for me to install additional apps to do exactly that.
I looked up “Tally” in the Shopify App Store & I’m not seeing anything that creates forms. Regardless, just to clarify: there is NO way to input a form directly in an email campaign (including using apps from Shopify’s App Store)?