How to create an Email Subscription form

This tutorial will guide you to create a Store Email Subscription form similar to Shopify default one. Then you can put this form into any page you like.

Shopify's default subscription form
Shopify’s default subscription form

Use the Store Email Subscription block

In Tapita page builder dashboard, go to Blocks > Others > Store Email Subscription. Drag and drop this block into your page.

This block already has the function of Shopify store email subscription. All you need to do is style the form as you like, such as change the font, text color, etc.

When you’re done, click Publish.

Now, when customers enter their email into the form and click Subscribe, they will appear in the Customers section of your Shopify admin.

(Optional) Redirect subscribers after they submit the form

To create a better user experience, you can redirect customers to a Thank-you page after they submit the form.

To do that, you can create a new page in Tapita using the template “Thank You”.

Tapita thank you template

You can publish the page as it is or edit it as you like before publishing.

After you’ve published the Thank You page, go back to the page where you put the Email Subscription Form.

Then go to Page Settings > Advanced, and paste this below code into the Custom JS field:

if(window.location.search == "?customer_posted=true"){
	window.location.href = 'https://your-page.com/pages/thank-you';
}

where https://your-page.com/pages/thank-you is the URL of your Thank You page.

Click Save and done! Now when customers submit the form, they will be redirected to your Thank You page.

Was this page helpful?