Contact form and newsletter Ideal

Asked

Viewed 358 times

1

I would love to know what would be the ideal framework/api to handle contact and newsletter forms on a simple page with information about a company’s services. There is a field to subscribe to the newsletter and a contact form. Being static html, I’m looking for an ideal solution to avoid dependency on a backend on or something like that. A would be ideal.

I would like something simple where it would be possible to do the same client side logic. I thought about , but I don’t know if he would be ideal for the contact form.

1 answer

1


A extremely simple solution, that even a lay person can implement is to use a Google form. A Google form can receive email and other information, save in a spreadsheet, and this can then be imported by any newsletter sending service.

Advantages of the Google Form (without programming)

  • Simple to implement
  • Quick to implement
  • Flexible in creating new fields
  • Easy export
  • Does not require prior programming knowledge
  • Free

Disadvantages of Google Form (without involving programming)

  • You can’t seamlessly integrate your page’s HTML without knowing you’re using Google Forms

Use Google Forms with API help

The limitations of Google Forms without programming can be resolved by accessing the API directly. See reference to Google Spreadsheets API version 3.0


Addition after question editing

Now that you have radically changed your question, and making the above answer useless, the best you can do is read the API directly from Mailchimp at http://apidocs.mailchimp.com/api/2.0/ and try to do via REST with pure javascript.

If only that’s not enough, because I just don’t know if a solution is really possible the way you want it, you’ll end up being simpler to make at least one call on your own server, and that call is that accesses newsletter providers' Apis. That is, your Landing page could even be in pure HTML and basic Javascript, but somewhere, on your own server, or on a server that mediates multiple websites, you would have to develop something in some backend language.

Remember that bulk email sending providers may not make it easy to create an easy way to send by HTML because this would allow too much SPAM. And by providing a simple API to do in direct HTML, people would complain about more advanced features, and Mailchimp was not made for that sort of thing.

  • It is really useful, but I will edit the question because Landing page is not mine and in this case it is a simple page with information about customer service. And the problem that needs to have a better management of users registered in the newsletter.

  • "the Landing page is not mine"... you do not have write access to the file? The action calls of these Forms are in places that you can edit?

  • yes, I have access. What I don’t have is an option to choose something like google Forms. I can use something like Mailgun and Mailchimp.

  • @Cassiocabral you have two problems, I gave a solution closer to involve as little work as possible to solve your problem. Without involving the least backend development, or making your own Webservice to receive the call from one or more websites that has these Landing pages (something that is also a plausible solution to your problem) doesn’t have much to do.

  • I get it, I really have no problem using a language in the backend. It’s more about not always having to depend on it and being able to take advantage of the use of Apis.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.